Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Windows Server 2008 R2, IIS7, FastCGI + PHP 5.3.8 - 500 error

$
0
0

Hi,

I am getting an intermittent error:

There is a problem with the resource you are looking for, and it cannot be displayed.

I did everything I could think of and also went through everything I read online about this type of error and nothing worked so far.

Not the php settings, not the permissions I am also using the windows installer which configured everything using recommended settings.

I even checked environment variables to make sure everything is ok.

I also, did all windows updates to make sure nothing missing or that needed an update would cause the problem.

The issue is this, I get a 500 error when calling a script that does a number_format(0) with another line of code that queries a database using ODBC link (Acomba) which is an accounting software.

The page loads fine one time then the 2nd refresh causes a 500, and its always like that, on every 2 refresh.
When calling number_format(0) alone, it causes a 500 but less often than with the query.

I have no errors in my error logs, I made sure it could write to the log by doing a simple test.

I configured a trace in IIS to see what it says and this is what I get:

This is the event error msg:

Faulting application name: php-cgi.exe, version: 5.3.8.0, time stamp: 0x4e537f4b
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17651, time stamp: 0x4e211319
Exception code: 0xc000008e
Fault offset: 0x0000b9bc
Faulting process id: 0xb00
Faulting application start time: 0x01cc76023c0209a8
Faulting application path: C:\Program Files (x86)\PHP\v5.3\php-cgi.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: 79f5fec0-e1f5-11e0-a6ed-bc305bd47266

This is what I get from the trace error log

ErrorDescriptionC:\Program Files (x86)\PHP\v5.3\php-cgi.exe - The FastCGI process exited unexpectedly

 

ModuleName

FastCgiModule
Notification128
HttpStatus500
HttpReasonInternal Server Error
HttpSubStatus0
ErrorCode3221225614
ConfigExceptionInfo
Notification

EXECUTE_REQUEST_HANDLER

Just so you know, we tried PHP 5.3.6 before this and we are getting the same error.
We also tried PHP 5.2.17, this one works, the issue is that the numbers are messed up, we keep getting .: on certain numbers when rounding.
E.g. ceil(28.08) returns 28.:

This seems corrected in 5.3.8.

We also have another server running Windows server 2008 R2 and it also gives the same error when installing PHP 5.3.8

If anyone has any idea on what could be causing this problem, please let me know, we are desperately trying to fix this issue to get passed it.

The only other solution we have is overriding the number_format function to skip the 0.
But we have no idea if there are other issues that would cause it to fail with a 500 error,


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>