• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

php errors

G

guischarf

Guest
Hi,

How can I set php to show errors under plesk (I login as admin). I need this for debugging

Thanks,

GS
 
You should be able to set the option in /etc/php.ini.

error_reporting = E_ALL

display_errors = On

display_startup_errors = On

You will have to restart Apache once you have made this change. You cannot do it through Plesk, you will have to edit the file via the command line. Also, all warnings will show up so I would recommend turning this to off once you are finished debugging.
 
Back
Top