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.

 

Link to comment
Share on other sites

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.)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.