<workers>
<section name="pool">
...
<value name="php_defines">
<value name="error_reporting">E_ALL</value>
...
</value>
...
</section>
<section name="pool">
...
<value name="php_defines">
<value name="error_reporting">E_WARNING</value>
...
</value>
...
</section>
</workers>
--
Andrei Nigmatulin
GPG PUB KEY 6449830D
Now I lay me down to sleep(3)
Pray the OS my core to keep
If I die before I wake
Pray the Disk my core to take
> <workers>
> <section name="pool">
> ...
> <value name="php_defines">
> <value name="error_reporting">E_ALL</value>
> ...
> </value>
> ...
> </section>
>
> <section name="pool">
> ...
> <value name="php_defines">
> <value name="error_reporting">E_WARNING</value>
> ...
> </value>
> ...
> </section>
> </workers>
Andrei - thanks.
Can -anything- be overridden or is it only specific variables? I'm
looking at these for the moment:
http://www.php.net/manual/en/errorfunc.configuration.php
error_reporting
display_errors
display_startup_errors
log_errors
error_log
You can not override only options that used in early php initialization stage,
such as zend_extension and display_startup_errors, for example. This is
because php-fpm code takes control after they get applied in php engine.
I believe all options that you've listed here (except display_startup_errors)
should work just fine.
> http://www.php.net/manual/en/errorfunc.configuration.php
>
> error_reporting
> display_errors
> display_startup_errors
> log_errors
> error_log
--