• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

PHP error reporting on migrated site

A

adstock

Guest
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
 
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..
 
php_admin_value and php_admin_flag went away in later versions of php, try

php_value and php_flag instead.
 
Back
Top