Good day, Running ISPConfig 3.2 on Ubuntu 20. My developper has asked for more PHP logs. I understand we see PHP access and error logs from Apache, but I'm trying to get the specific PHP logs. This is a special site running PHP 5.6. Here's what I did (doesn't seem to work): 1) I did a touch on /var/log/php-scripts.log -rw-r--r-- 1 root root 0 Aug 4 21:46 php-scripts.log 2) I aded this in /etc/php/5.6/cgi/php.ini error_log = /var/log/php-scripts.log 3) service apache2 reload If I create a page with an error in it, I don't get anything in the php-scripts.log. Any idea on what I'm missing? Would I be better putting this in Custom php.ini settings (error_log = /var/log/php-scripts.log) of the site? Thank you, JP
PHP logs to the error.log of the website. That's not a good idea, especially as it's not even a site-specific log. I recommend undoing this. You find everything already in the error.log of the website.