Re: Error catching script
| From: | Chris Shiflett | Date: | Wed, 08 Oct 2003 15:20:21 +0000 |
| Subject: | Re: Error catching script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165457@lists.php.net to get a copy of this message | ||
--- James Johnson <james@primedna.net> wrote:
> Is there a way, on a hosted server, to prevent PHP errors from
> showing in a browser?
I am assuming you are asking how to change php.ini directives, since you
probably don't have access.
On most shared hosts, they are configured to use a .htaccess file (assuming
Apache), and you can set many php.ini directives here. The online manual is
very good at explaining which directives can be set where, so I recommend
reading that.
Chris
=====
My Blog
http://shiflett.org/
HTTP Developer's Handbook
http://httphandbook.org/
RAMP Training Courses
http://www.nyphp.org/ramp