error_log [% homedir %]/logs/[% scrubbed_domain %].php.error.log without php-fpm
Is it possible to get error_log location like:
Without php-fpm ??? I've tried putting this directly into php.ini and it didn't work.
[% homedir %]/logs/[% scrubbed_domain %].php.error.log
Without php-fpm ??? I've tried putting this directly into php.ini and it didn't work.
-
Hey there! I see that log location on a test domain on my personal server that has PHP-FPM disabled. Is there a specific error you're looking for? 0 -
Hey there! I see that log location on a test domain on my personal server that has PHP-FPM disabled. Is there a specific error you're looking for?
I guess what I'm trying to ask is, is there one place in a single php.ini file I can set the default php error logs to a similar dynamic location like php-fpm uses. HOMEDIR/logs/DOMAIN.php.error.log Without php-fpm I seem to only have the option for the filename in the current folder. PHP-FPM automatically sets a location PER domain without having to create a file in each document_root0 -
No, there isn't a way to do that since it's controlled by the interaction between PHP and Apache and their various settings. 0
Please sign in to leave a comment.
Comments
3 comments