My web host is running ubuntu 10.04 for our web server. I am trying to see my PHP error output that I usually would see in /var/log/apache2/error_log... but I have no access to /var/log/apache2/. I am getting an HTML 500 error, and usually I would check the PHP error log. Does anyone know how to check the log without having to access /var/log/apache2/?
Thanks!
Try setting the error log to somewhere else where you can access it, using the function ini_set in your php script e.g.,
ini_set('error_log','/home/username/error.log');
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With