Different php.ini for my clients

dannygoh

Verified User
Joined
Feb 9, 2004
Messages
368
Location
Malaysia
Hi,

My clients need to change the php.ini settings due to the following reason :-

1) They dont want the php error message to display and need to change the php.ini

2) Can my client code the php so they can not display the error message.
 
You can turn error reporting off by usering
error_reporting(0);
at the top of your script.

You can also set the default serverwide in the php.ini and enable error reporting when wanted, or you can do it the same way DirectAdmin handles safe_mode, using php.ini in conjunction with the httpd.conf file

For example:
http://us3.php.net/configuration.changes
 
Back
Top