Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to turn off php warning messages

Status
Not open for further replies.

cathl

Technical User
Aug 4, 2000
18
0
0
GB
Does anyone know how to turn off php's warning messages once it is installed on microsoft's iis server?
Many thanks.
 
I'm not familiar with PHP on a Microsoft platform, but on Linux the php.ini file contains variables that regulate Error handling and reporting. If you can find a php.ini file, search for "warn" or "WARN".

Hope this helps.
Hardy Merrill
Mission Critical Linux, Inc.
 
Well, I have a linux box too, but you may find your thing in the php.ini, like hmerril mentioned.
The parameter you have to look is 'error_reporting' and it may have a bit-value.
If it has the bit-value 8, PHP displays
warnings that can be ignored (but often give hints about possible error-sources).
4: Parse-Errors
2: Normal Warnings
1: Normal Errors

Hope it helps!

 
Thanks for your help it worked - I found php.ini and turned off the warnings.
Cath.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top