Syntax of php directives in VirtualHost section.
am 10.07.2007 11:33:23 von andre rodier
Hello,
I use LAMP on my home computer to develop applications, with 3 or 4 virtual hosts.
To develop new applications in PHP, I set the default error reporting options to E_ALL | E_STRICT.
But I alse have old web sites, with old libraries, and I wish put the php error reporting
directive differently, for instance E_ALL.
I have seen once a directive in apache2.conf, directly addressed to php.
So my question is : What is the syntax, in a VirtualHost section, to add php directives.
Thanks.
André.
Re: Syntax of php directives in VirtualHost section.
am 10.07.2007 11:53:21 von andre rodier
Hello all,
Finally, I found :-)
php_value error_reporting E_ALL&~E_NOTICE
May be this is useful for anybody.
andre wrote:
> Hello,
> I use LAMP on my home computer to develop applications, with 3 or 4 virtual hosts.
>
> To develop new applications in PHP, I set the default error reporting options to E_ALL | E_STRICT.
>
> But I alse have old web sites, with old libraries, and I wish put the php error reporting
> directive differently, for instance E_ALL.
>
> I have seen once a directive in apache2.conf, directly addressed to php.
>
> So my question is : What is the syntax, in a VirtualHost section, to add php directives.
>
> Thanks.
> André.