error_log location when using MultiPHP?
When using Cloudlinux php selector I know that in every folder that something went wrong there is an error_log with the errors waiting there for me to debug.
Switching recently to MultiPHP I've noticed error_log files stopped "functioning".
What I mean, for example one user had memory limits,
PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) .... The typical 40MB wordpress limit, but this error was no-where to see.
No error_log in public_html, no /var/log/apache or /usr/local/apache/logs/error_log nothing.
I had to switch by mistake back to php selector and when I did, the memory limit error magically appeared in error_log and saved my day.
So, where are the error logs when using multiphp ?
I've checked for example php.ini of /opt/cpanel/ea-php56/root/etc/ and it seems OK
error_log = "error_log"
log_errors = On
but for some reason it didn't worked.
-
If your running easyApache 4 check in /etc/apache2/logs/error_log 0 -
Hello, Can you verify which PHP handler is assigned to the account you are testing this with? Do any custom php.ini files exist for the account? Are you using PHP-FPM? Thank you. 0 -
I've got the same issue. Running latest stable version of cpanel (v66.0.25), affects sites running using php-fpm & those that are not. php handler for php54 is dso, other versions are cgi. The handler doesn't seem to make a difference in this issue. 0 -
I've got the same issue. Running latest stable version of cpanel (v66.0.25), affects sites running using php-fpm & those that are not. php handler for php54 is dso, other versions are cgi. The handler doesn't seem to make a difference in this issue.
Feel free to open a support ticket using the link in my signature so we can take a closer look. Thank you.0 -
Has this issue ever been solved? I'm running into it as well. 0 -
Has this issue ever been solved? I'm running into it as well.
Can you verify if PHP-FPM is enabled for the account? If so, you will find the error_log at the following location: /home/username/logs/domain_tld.php.error.log Thank you.0
Please sign in to leave a comment.
Comments
6 comments