Skip to main content

error_log [% homedir %]/logs/[% scrubbed_domain %].php.error.log without php-fpm

Comments

3 comments

  • cPRex Jurassic Moderator
    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
  • ttremain
    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_root
    0
  • cPRex Jurassic Moderator
    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.