How do I modify php.conf to setup an error log?
Currently /etc/httpd/conf.d/php.conf contains the following lines:
LoadModule php4_module modules/libphp4.so
#
# Cause the PHP interpreter handle files with a .php extension.
#
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 524288
</Files>
#
# Add index.php to the list of files that will be served as directory
# indexes.
#
DirectoryIndex index.php
phpinfo() produces the result "no value" for the php core directives
error_append_string, error_log, error_prepend_string, and error_reporting
Would it be something like this?
SetErrorLog /usr/local/apache/logs/php_error_log
SetErrorReporting on
Thanks, Mike
Currently /etc/httpd/conf.d/php.conf contains the following lines:
LoadModule php4_module modules/libphp4.so
#
# Cause the PHP interpreter handle files with a .php extension.
#
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 524288
</Files>
#
# Add index.php to the list of files that will be served as directory
# indexes.
#
DirectoryIndex index.php
phpinfo() produces the result "no value" for the php core directives
error_append_string, error_log, error_prepend_string, and error_reporting
Would it be something like this?
SetErrorLog /usr/local/apache/logs/php_error_log
SetErrorReporting on
Thanks, Mike