Posted by DC on 10/09/19 11:34
apache 2.0x
php 4.3x
/etc/php.ini
error_reporting = E_ALL
display_errors = Off
display_startup_errors = Off
log_errors = On
error_log = "/var/log/httpd/phperror_log-web1"
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
track_errors = Off
From the command line i can do
# echo "<?php echo'asdfeasldfj;?>" | php
and sure enough it goes right to /var/log/httpd/php.... as expected.
but when i go to the web page and try to make a simular error, i get nothing in the log file. (which is chowned by apache).
in the "apache" errorlogs i do get PHP Notice:'s. but thats it.
I dont want any php stuff in the apache error log, thats why im trying to get the php log to work.
Navigation:
[Reply to this message]
|