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 -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: mod_fcgid problem with PHP 5.3.0 and PHP 5.2.11
Author
salmon318



Joined: 01 May 2008
Posts: 14

PostPosted: Sun 27 Sep '09 4:02    Post subject: mod_fcgid problem with PHP 5.3.0 and PHP 5.2.11 Reply with quote

I am having problem with mod_fcgid-2.2b-w32.zip running on PHP 5.3.0 or PHP 5.2.11, however, if I downgrade it to PHP 5.2.10, it works fine.

This is the error:

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

Anyone can help? I went to http://www.fastcgi.com/ and found that the latest version was in 2007. Hmmm... I guess latest version of PHP does not work with mod_fcgid-2.2b-w32.zip (latest version in Apache lounge) Any suggestions?
Back to top
James Blond
Moderator


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

PostPosted: Sun 27 Sep '09 8:13    Post subject: Reply with quote

The download from AL works fine with PHP 5.3 which is the latest Wink

Now mod_fcgid is develop by apache software foundation. Means since a few weeks. So there will be updates soon.
Back to top
salmon318



Joined: 01 May 2008
Posts: 14

PostPosted: Sun 27 Sep '09 16:35    Post subject: Reply with quote

James,

I need some help here..

Are you saying "mod_fcgid-2.2b-w32.zip" (from AL) works fine with PHP 5.3.0? Currently, I am running Apache 2.2.13 from AL "httpd-2.2.13-win32-x86-ssl.zip"

or

- Are you saying it works using php-cgi.exe without fastcgi?
- or are you using the PHP package "php5apache2_2.dll"?
- or are you using "php5apache2.dll-php5.1.x.zip" from AL?

The error I am having, I really can't figure it out... the weird thing is, if I downgrade back to PHP 5.2.10, it works perfectly.

Thanks
Back to top
James Blond
Moderator


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

PostPosted: Sun 27 Sep '09 20:10    Post subject: Reply with quote

Nope I use php5apache2_2.dll as mod_php for some vhosts and php-cgi.exe over fcgid on some other vhosts.
I use PHP from windows.php.net since I use the AL apache I use VC9 build from PHP 5.3.0
Back to top
salmon318



Joined: 01 May 2008
Posts: 14

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

Thanks James, you gave me some hint that there was something wrong on my side. So I used a brand new virutal machine and do a test on Apache 2.2.13 with 5.2.11.

When I execute the "php-cgi.exe" from command line, I got "The application has failed to start because MSVCR71.dll was not found..." error. After copying "msvcr71.dll" to my PHP directory, it works again.

On the production server, although "php-cgi.exe" from command line didn't give me any error. However, after copying "msvcr71.dll" to my PHP directory, it works!!!

This is really strange, 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


Reply to topic   Topic: mod_fcgid problem with PHP 5.3.0 and PHP 5.2.11 View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules