Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 1 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 '15 at 22:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .