1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

PHP Error Reporting on 8.1

Discussion in 'Plesk for Linux - 8.x and Older' started by adstock, Jul 3, 2006.

  1. adstock

    adstock Guest

    0
     
    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
     
  2. Ales

    Ales Basic Pleskian

    23
    73%
    Joined:
    Mar 4, 2002
    Messages:
    67
    Likes Received:
    0
    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").
     
  3. danliker

    danliker Silver Pleskian Plesk Certified Professional

    33
    43%
    Joined:
    Feb 15, 2006
    Messages:
    575
    Likes Received:
    0
    Location:
    Switzerland
    from where do you get plesk 8.1 ?
     
Loading...