Re: 500 Error - FastCGI error message after database installation page.
Originally Posted by
marty68
Running:
Windows XP Pro SP3
IIS: 5.1
FastCGI: x86 1.0.0
MySQL Server: 5.1.37-community
PHP version: 5.3.0
Hey Marty,
Here are some things you can try that might help isolate the issue a bit more. First off, though, as Dr. Byte points out, PHP 5.3 needs a not-yet release version of Zen Cart. PHP 5.3 introduced a bunch of breaking changes which are affecting many PHP applications, and many of the more popular apps (like Zen Cart) haven't released support for it yet.
If you go into your php.ini file and look for a commented out line that says
Code:
; fastcgi.logging = 0
Remove the comment (;) from that line. The 1.0 version of FastCGI treats any error messages (including warnings) as fatal errors requiring a 500 sent back to the client. The 1.5 version (which is in Beta for WinXP) resolves this. Personally, though, I still keep it off. I like PHP's logging. The same information goes both places.
The second thing to do is to set up an error log. PHP comes with error logging turned on:
But with no log destination configured. In that configuration, PHP sends the output from log_errors to the stderr stream, which is what FastCGI is choking on. If you set your error logs to go to a file, you will then be able to see more about what's going on, and what is causing the error. I usually use:
Code:
error_log = "C:\Windows\Temp\php-errors.log"
PHP can usually write to that directory / file, so it's a safe bet.
If you try this and get anything in your error log that you need help with post it in reply to this thread.
But first, uninstall PHP 5.3 and install PHP 5.2.10. Many issues may just go away from that.
Thanks!
-Jake
Steve Jacobson (Jake)
Microsoft IIS Team
stjacobs at microsoft dot com
Bookmarks