PHP configuration inside httpd.conf
How to set PHP error notice hidden in httpd.conf (vhost):
<VirtualHost *:80> ... php_flag display_startup_errors off php_flag display_errors off php_flag html_errors off ... </VirtualHost>
How to set individual php.ini in httpd.conf (vhost):
<VirtualHost *:80> ... PHPIniDir '/path/to/php/conf/php-foo.ini' ... </VirtualHost>
How to set individual PHPError.log in httpd.conf (vhost):
<VirtualHost *:80> ... php_flag log_errors on php_value error_log /path/to/site/PHPerror.log ... </VirtualHost>
Posted on March 13th, 2009 by Denie
Filed under: Apache, HTML, PHP, Tutorials




















































Leave a Reply