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 migrated site

Discussion in 'Plesk for Linux - 8.x and Older' started by adstock, Mar 24, 2009.

  1. adstock

    adstock Guest

    0
     
    Hello

    We have migrated some sites over from plesk 8.1 to Plesk 8.6

    PHP error reporting worked fine under 8.1 but the migrated config files is not showing php errors, and I have editied the vhost.conf, trying a few sugesstions in the forum and I still cannot get it to work.

    <Directory /var/www/vhosts/xyxyxyxyx.com/httpdocs/php/admin>
    php_admin_value register_globals on
    php_admin_value max_execution_time 180
    php_admin_value max_input_time 180
    php_admin_flag display_errors on
    php_admin_value error_reporting "E_ALL"
    php_admin_value safe_mode 0
    php_admin_value memory_limit 128M
    </Directory>
    <Directory /var/www/vhosts/xyxyxyxyx.com/httpdocs>
    php_flag display_errors on
    php_value error_reporting "E_ALL"
    </Directory>

    done the usual

    /usr/local/psa/admin/bin/websrvmng -u --vhost-name=xyxyxyxyx.com
    and then
    /etc/rc.d/init.d/httpd restart

    Any pointers ideas - RHEL 4 and PHP 4.3.9

    Regards
    Adrian
     
  2. psingh

    psingh Basic Pleskian

    23
    57%
    Joined:
    Dec 15, 2007
    Messages:
    33
    Likes Received:
    0
    Hi Adrian,

    i am not sure whether you are looking for this.. see if this helps you..
    idea of not shoing error log on public page is for safety and security i believe..

    log on to plesk panel
    go to :
    domain.name > log manager > error_log


    or if you have root access :
    # tail -f /var/www/vhosts/domain.name/statistics/logs/access_log

    good luck..
     
  3. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    php_admin_value and php_admin_flag went away in later versions of php, try

    php_value and php_flag instead.
     
Loading...