[thelist] PHP warnings

Garrett Coakley garrett at polytechnic.co.uk
Tue Oct 1 02:53:01 CDT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 30 Sep 2002 12:38:15 -0700 Kevin wrote:

> Hello,
>
> I am on a shared hosting plan and trying to install phpBB forum.
>
> When I am logging into the system, I get the following:

[snip warnings]

> How can I turn off these warnings? My hosting provided is pair
> networks.

If you want to just stop the warnings from appearing (and you don't
have access to php.ini) then you can set the error reporting level in a
.htaccess file with the following line:

	php_value error_reporting <bitmask value>

Remember, you can't use constants like E_ALL or E_WARNING in .htaccess
files, so you have to use the bitmasks instead. A list of these can be
found at:

http://www.php.net/manual/en/ref.errorfunc.php#errorfunc.constants

Although it would probably be a wiser move to actually fix what is
giving you the warnings if at all possible.

HTH

G.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9mVPu4AAXt40rqS4RArFZAKCXvcvf7KQRi4OQFRmnsIPA/6MNugCgqLca
JIUWn0Nqg6J3Lk+xVcBY1VY=
=WJPJ
-----END PGP SIGNATURE-----



More information about the thelist mailing list