• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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