Plesk + PHP - Activate Error Reporting

on under asbach
1 minute read

Out Of Date Warning

This article was published on 04/10/2011, this means the content may be out of date or no longer relevant.
You should verify that the technical information in this article is still up to date before relying upon it for your own purposes.

In plesk in comination for PHP, the error reporting is redirected to a log file, and instead a Whitescreen is shown. To change that, e.g. for a development-system:

cd /var/www/vhosts/DOMAIN/subdomains/SUBDOMAIN
touch conf/vhost.conf
echo "php_admin_flag display_errors on
php_admin_value error_reporting 2047" >> conf/vhost.conf
/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=DOMAIN

Applies for domains and subdomains as well.


Reposted from notes.it-jobs-und-stellen.de