Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would like to know, how to enable enable PHP error-logging in Plesk 11.

I found PHP-Settings for my domain, but for error-reporting it says "standard". Which seems to me, like it doesn't create a log file at all.

What I want to achieve: - log errors to file, but don't put them out to users.

I appreciate your help.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

PHP error logging seems can be found here:

/var/www/vhosts/example.org/statistics/logs/error_log

For grabbing only PHP errors:

grep PHP /var/www/vhosts/example.org/statistics/logs/error_log | less

Info: Only tested for Plesk 11

share|improve this answer
    
/var/www/vhosts/domainname.com/logs/error_log for me on plesk 11.5.30. I will note that the default did seem to be to log. (You might add that to your answer, considering the original question.) –  Azendale Apr 29 at 22:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.