thebear98 Posted July 11, 2011 Share Posted July 11, 2011 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 https://forums.phpfreaks.com/topic/241746-iis75-oracle-error-returns-500/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.