Where does PHP store the error log? (php5, apache, fastcgi, cpanel) -
i on shared hosting , have cpanel, apache, php run fastcgi. php store error log?
is there other way can find error log on shared hosting environment instead of having go through entire site structure error_log files?
i have access php.ini
(i using php version 5.2.16).
php stores error logs in /var/log/apache2
if php apache2 module. shared hosts storing log files in root directory /log
subfolder. but...if have access php.ini
file can this:
error_log = /var/log/php-scripts.log
according rinogo's comment: if you're using cpanel, master log file you're looking stored (by default) at
/usr/local/apache/logs/error_log
if else fails can check location of log file using
<?php phpinfo(); ?>
Comments
Post a Comment