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 -> Other Software View previous topic :: View next topic
Reply to topic   Topic: Apache 2.3.15 fails to start with PHP enabled!
Author
hankman



Joined: 08 Jan 2008
Posts: 24
Location: Veghel, NL

PostPosted: Fri 25 Nov '11 15:27    Post subject: Apache 2.3.15 fails to start with PHP enabled! Reply with quote

Apache 2.3.15 with PHP version 5.4.0RC2, running on Windows 7 Professional.

To configure apache for php I added the next lines to the httpd.conf:

PHPIniDir "c:/php"
LoadModule php5_module "c:/php/php5apache2_3.dll"
AddType application/x-httpd-php .php

I tried to run the apache service from the Apache service monitor, but it didn't:
The requested operation failed!

And Windows event viewer says:
The Apache service named reported the following error:
>>> httpd.exe: Syntax error on line 149 of C:/Apache23/conf/httpd.conf: Module "sapi\\apache2handler\\mod_php5.c" is not compatible with this version of Apache (found 20110619, need 20111025). Please contact the vendor for the correct version.


What can I do to get things running ??


Last edited by hankman on Sat 26 Nov '11 1:38; edited 7 times in total
Back to top
whenbye



Joined: 25 Nov 2011
Posts: 1

PostPosted: Fri 25 Nov '11 16:32    Post subject: Reply with quote

i've got the same problem. anyone help!!!
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Fri 25 Nov '11 18:17    Post subject: Reply with quote

You have to ask the php guys to build a version of the DLL against 2.3.15.

Steffen
Back to top
hankman



Joined: 08 Jan 2008
Posts: 24
Location: Veghel, NL

PostPosted: Sat 26 Nov '11 0:20    Post subject: Reply with quote

php.net did not give me a satisfying answer:

Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you.

Just can't find any real support at the mentioned URL above.

I'm running out of options to solve the problem, but I guess I'm not the only one trying to run PHP on apache 2.3.xx, so there must be more people experiencing the same problem.

I'm still not sure where to look: is it a PHP problem or an Apache bug???

Would appreciate some help in this matter.

Apache Lounge is also running on version 2.3.15. Which php version is being used? (Question for Steffen !)

Regards,

Hankman
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Sat 26 Nov '11 2:27    Post subject: Reply with quote

Run PHP under mod_fcgid. Till Apache 2.4.0 goes GA and the API freezes, modules need to be recompiled for each version. Modules built against 2.3.14 will not work with 2.3.15. Getting PHP to recompile every new Apache 2.3 version seems to have proven problematic.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Sat 26 Nov '11 7:50    Post subject: Reply with quote

For ppl that cannot run as fcgid, today I shall build the new DLL.

Same situation as with 2.0/2.2. ApacheLounge had the first DDL's and also DLL's for older PHP versions. Some are still downloaded quite a lot, for example:

php5apache2.dll-php5.1.x
php4apache2.dll-php4.4.x


Steffen
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Sat 26 Nov '11 13:32    Post subject: Reply with quote

The module php5apache2_3.dll for Apache 2.3.15 with PHP version 5.4.0RC2, 5.3.8 and 5.3.9RC2 now available, see the topic.

Steffen
Back to top
hankman



Joined: 08 Jan 2008
Posts: 24
Location: Veghel, NL

PostPosted: Sat 26 Nov '11 16:24    Post subject: Reply with quote

Thanks for the dll file Steffen!

Now the server is running like clockwork !!!


Regards,

Hankman
Back to top


Reply to topic   Topic: Apache 2.3.15 fails to start with PHP enabled! View previous topic :: View next topic
Post new topic   Forum Index -> Other Software