Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: groyk on June 11, 2009, 08:47:12 PM
-
Hi
Ive tried to enable display_errors as standard on my SME 7.x server with no luck
I've changed following
/etc/e-smith/templates/etc/php.ini/30ErrorHandling
mysql.allow_persistent = On
error_reporting = E_ALL & ~E_NOTICE
display_errors = On (WAS OFF BEFORE)
display_startup_errors = Off
log_errors = On
error_log = syslog
track_errors = Off
warn_plus_overloading = Off
And restarted the whole system.
But I still get a blank page on PHP errors, why??
-
Hi
Ive tried to enable display_errors as standard on my SME 7.x server with no luck
I've changed following
/etc/e-smith/templates/etc/php.ini/30ErrorHandling
mysql.allow_persistent = On
error_reporting = E_ALL & ~E_NOTICE
display_errors = On (WAS OFF BEFORE)
display_startup_errors = Off
log_errors = On
error_log = syslog
track_errors = Off
warn_plus_overloading = Off
And restarted the whole system.
But I still get a blank page on PHP errors, why??
As you are doing it wrong: http://wiki.contribs.org/PHP#Display_Error_Messages
-
Hi Cactus
Thank you for your fast reply.
Now I can get it work with php4
But how do I manage to let php5 do it?
I have installed PHP5 as cgi.
http://wiki.contribs.org/PHP5
-
Hi again cactus
Now I've found out. Ofcourse same procedure just
/etc/e-smith/templates/etc/php5/php.ini
then make custom template.