Jump to content

IIS7.5 Oracle Error Returns 500?


thebear98

Recommended Posts

Hi,

I am migrating a site

  from PHP 4.4.6 on Windows Server 2003 and IIS6,

      to PHP 5.3.6 on Windows Server 2008 R2 and IIS7.5.

 

I am testing the new site with an Oracle query that is intended to fail.

IIS6 site catches the Oracle error and prints something useful for the users using code like this:

 

  $stmt = ociParse($conn,$sql);

  ociExecute($stmt);

  $oraError = ociError($stmt);

 

IIS7.5 site, using the same PHP, returns a 500 to the client browser with the following info (never getting to the ociError() call):

 

Module FastCgiModule

Notification ExecuteRequestHandler

Handler PHP_via_FastCGI

Error Code 0x00000000

Requested URL http://<myserver>:80/Doc Control.Utilities.Drawing Info.php

Physical Path D:\wwwroot\Doc Control.Utilities.Drawing Info.php

Logon Method Anonymous

Logon User Anonymous

 

Is there a setting I am missing that would disallow the Oracle error from exiting the script, and let the handler handle it?

 

  thanks,

  Barry

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.