Computing.Net > Forums > Web Development > enable error reporting in PHP

enable error reporting in PHP

Reply to Message Icon

Original Message
Name: br1an
Date: April 25, 2004 at 16:17:24 Pacific
Subject: enable error reporting in PHP
OS: WinXP
CPU/Ram: 128
Comment:

hi,
i have installed PHP 4.3.5 on IIS 6. I have turned on the error report in the php.ini file. Did i miss anything? there is no error report here. just a blank page appears if there was an error in proccessing my script.
thanks


Report Offensive Message For Removal


Response Number 1
Name: anonproxy
Date: April 27, 2004 at 10:34:57 Pacific
Subject: enable error reporting in PHP
Reply: (edit)

In php.ini there is an error_reporting directive (which specifies level of reporting) and a display_errors directive. Both have to be set. Beyond that, make sure your error would be displayed (i.e. that there is in fact an error), that there is no @ sign to suppress the error, and that the parser is operating.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: enable error reporting in PHP

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




How often do you use Computing.Net?

Every Day
Once a Week
Once a Month
This Is My First Time!


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge