How do you add the php error log file so that it can be accessed via the vm panel for each vhost? I have enabled logging and in my php.ini I have logs going to “…/logs/php_errors”. A few customers are requesting that they can view it just like the apache logs from the Logs and Reports section. Is this possible?
Actually, if you didn’t direct PHP errors to go into a separate error log, errors would still be generated – and they’d all go into the Apache error_log that is available in the Logs and Reports area.
Some alternative ideas:
You could put the log file into a subdirectory of the public_html folder, protect the dir with a password, and allow your users to access it directly from their browser.
Virtualmin has the ability to add custom links into the menu. Using System Customization -> Custom Links, perhaps you could use that to add a link in Virtualmin to the logs in question.