Re: Logging fatal errors and timeout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks. How do I override PHP settings using .htaccess?

Hello RPG,

You cannot catch Fatal run-time errors with that method of error
handling. The error has occurred before the script settings have had a
chance to be picked up.

Check to see if your host allows you to use .htaccess settings to
over-ride PHP ini settings - for trapping Fatal run-times on a shared
server that's most likely your only option. I've seen some hosts dump
PHP errors to an error_log in the same directory as the script that
caused the error. This might be an option (although not very secure,
it's better than displaying the error across the middle of your site)

Best regards,

Richard Davey

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux