Koozali.org: home of the SME Server

Override display_errors with .htaccess file don't work?!

Offline jester

  • *
  • 496
  • +1/-0
Override display_errors with .htaccess file don't work?!
« on: July 25, 2007, 04:50:09 PM »
Maybe someone can correct me...

I'm trying to override the default php.ini settings for displaying errors by adding the following statement to a .htaccess -file:
Code: [Select]
php_flag display_errors on
But phpinfo() keeps telling me it's still off. Anyone got suggestions?!


Kind regards,
jester

Offline haymann

  • *
  • 212
  • +0/-0
Override display_errors with .htaccess file don't work?!
« Reply #1 on: July 25, 2007, 06:01:53 PM »
This should work, just replace "ibayname" with the name of your ibay.
Code: [Select]
expand-template /etc/httpd/conf/httpd.conf
db accounts setprop ibayname AllowOverride All
signal-event ibay-modify ibname


However you might want to look at this thread as well as many others as it looks like creating a custom template is the preferred method. Should be easily searched for I think.
Ryan