• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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