Jump to content

new install, trying to display error message


Recommended Posts

I just install PHP 5 on WinXP IIS (ISAPI)

So far everything is working fine with the exception of the error handling.

 

in the php.ini file I have the following set.

display_errors = On

 

and I have tried:

error_reporting = E_ALL

error_reporting = E_ALL & E_NOTICE

 

restarted services each time but to no avail.

 

In my test file I have

<?

echo "this is an error"

?>

 

Please help.

 

oh and the phpinfo file says the the display_error is 'ON' in both Local and Master

and the error reproting is 6135

php.ini is located in the C:\Windows dir.

 

Assuming that short open tags are on, your test code does not contain any php error. Semi-colons are not required on the last line before a closing ?> tag (but you should always use them so that you don't forget when you add code after any line that does not have one.)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.