• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

PHP Error Reporting on 8.1

A

adstock

Guest
I have had a look through the forums and Documents and I cannot find out how how to turn on Error Reporting on PHP for a domain we are trying to debug. the following is guess work by piecing together my understanding of how Plesk works.

My guess is that in version 8.1 you need to edit the httpd.include file held in the conf directory of the domain, and under the orgiinal php directives I have added

php_admin_flag display_errors 1
php_admin_value error_reporting "E_ALL"

I have restarted Apache and still no Joy.

The File now look like this

<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_flag safe_mode on
php_admin_value open_basedir "/var/www/vhosts/investmentandbusinessnews.co.uk/httpsdocs:/tmp"
php_admin_flag display_errors 1
php_admin_value error_reporting "E_ALL"
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
pdmin_flag engine on
php_admin_flag safe_mode on
php_admin_value open_basedir "/var/www/vhosts/investmentandbusinessnews.co.uk/httpsdocs:/tmp"
php_admin_flag display_errors 1
php_admin_value error_reporting "E_ALL"
hp_admin_flag safe_mode on


Any pointers would be most helpful
 
You should never edit httpd.include, your changes will get overwritten. Refer to Plesk's documentation (click on "Appendix A. Advanced Features" and than on "Including Directives into Web Server Configuration File").
 
Back
Top