Monday, April 14, 2008

Display PHP error on client site

By default, Plesk 8.3 will disable display error on the client's site. So to enable it

1.Edit /etc/php.ini as root
2.Scroll to the bottom add these configurations


; Local Variables:
; tab-width: 4
; End:
error_reporting = E_ALL & ~E_NOTICE
display_errors = On


3. Save the file and restart back httpd

/sbin/service httpd restart

No comments: