logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: PHP 5.2.11 Crashed on Apache
Author
salmon318



Joined: 01 May 2008
Posts: 14

PostPosted: Sun 27 Sep '09 3:27    Post subject: PHP 5.2.11 Crashed on Apache Reply with quote

I have been running Apache 2.2.11 with latest version of fastcgi (Apache lounge version) with PHP 5.2.10 without any problem for almost half a year.

Recently PHP released 5.2.11, and I installed it. When I went to the web browser, I got 500 Internal server error. On the server, it has the pop up window saying JIT error:

"An unhandled win32 exception occurred in php-cgi.exe [6048]. Just In-Time debugger this exception failed...."

On PHP error log, I got this:

[Sat Sep 26 21:13:46 2009] [notice] mod_fcgid: call C:/website/wwwroot/index.php with wrapper c:/php/php-cgi.exe
[Sat Sep 26 21:14:09 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Sat Sep 26 21:14:09 2009] [notice] Child 9300: Exit event signaled. Child process is ending.
[Sat Sep 26 21:14:10 2009] [notice] Child 9300: Released the start mutex
[Sat Sep 26 21:14:11 2009] [notice] Child 9300: All worker threads have exited.
[Sat Sep 26 21:14:11 2009] [notice] Child 9300: Child process is exiting
[Sat Sep 26 21:14:12 2009] [notice] Parent: Child process exited successfully.


I even tried to upgrade to latest Apache 2.2.13, it works fine with PHP 5.2.10, but as soon as I upgrade PHP to 5.2.11, it crashed. Now I got sligntly different error [xxxx] is different.

"An unhandled win32 exception occurred in php-cgi.exe [10404]. Just In-Time debugger this exception failed...."


Can anyone help please?
Back to top
salmon318



Joined: 01 May 2008
Posts: 14

PostPosted: Mon 28 Sep '09 16:37    Post subject: Reply with quote

Okay, I figured it out. After copying "msvcr71.dll" to my PHP directory, it works again.

Just wondering why?? There is no documentation saying msvcr71.dll is needed. The WEIRD thing is 5.2.10 does not need this dll. Now, with this dll I am able to run 5.2.11. I will try 5.3.0 to see what happen.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Mon 28 Sep '09 17:03    Post subject: Reply with quote

it depends which version of PHP 5.2.11 you downloaded. The VC6 or the VC9 build.
Back to top
salmon318



Joined: 01 May 2008
Posts: 14

PostPosted: Tue 29 Sep '09 3:25    Post subject: Reply with quote

I have been using this URL http://www.php.net/downloads.php (Download link from PHP front page) for all version I have used. Is this VC6 or VC9?

PHP 5.2.11 zip package [10,270Kb] - 17 September 2009
md5: adac50ae1449b76f10ff1865bb4f94f1

I also checked http://windows.php.net/download/ for 5.2.11, I only see VC6, there is no VC9.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Tue 29 Sep '09 9:33    Post subject: Reply with quote

It is VC6 build, so msvcr71.dll should be necessary. I wonder a lot!
Back to top


Reply to topic   Topic: PHP 5.2.11 Crashed on Apache View previous topic :: View next topic
Post new topic   Forum Index -> Apache