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: php 5.1 dll for apache 2.2
Author
gggeek



Joined: 13 Feb 2013
Posts: 10

PostPosted: Mon 03 Feb '14 23:26    Post subject: php 5.1 dll for apache 2.2 Reply with quote

I am trying to test legacy stuff on php 5.1.
I thought that I'd easily be able to load the DLL for that into Apache 2.2 (the oldest version which I can find), but it seems not to be the case.

I came to Apachelounge and downloaded the latest tarballs:
php5apache2_2.dll-php-5.1-win32-vc8.zip
httpd-2.2.26-win32-ssl_0.9.8-VC10.zip
httpd-2.2.26-win32-ssl_0.9.8-VC9.zip

But it seems that the php dll can not be loaded in Apache compiled with either vc9 or vc10.

Apache conf is:

LoadModule php5_module "D:/php516/php5apache2_2.dll"
PHPIniDir "D:/php516"
AddType application/x-httpd-php .php

Any help appreciated
Back to top
Steffen
Moderator


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

PostPosted: Tue 04 Feb '14 11:57    Post subject: Reply with quote

You downloaded the dll from Apache lounge ? See the readme.txt in the php5apache2.dll-php5.1.x-win32.zip.

You have to use then: LoadModule php5_module "D:/php516/php5apache2.dll"

What error do you get in error.log and/or Windows event viewer ?

You installed the Visual C++ 2005 Redistributable ?

The php5apache2.dll-php5.1.x-win32.zip on the Additional download page here runs only with PHP 5.1.0-5.1.6.

Steffen
Back to top
gggeek



Joined: 13 Feb 2013
Posts: 10

PostPosted: Tue 04 Feb '14 12:30    Post subject: Reply with quote

The error message is:

httpd: Syntax error on line 516 of D:/Apache/Apache2.2vc9/conf/httpd.conf: Syntax error on line 2 of D:/Apache/Apache2.2vc9/conf/extra/php51.conf: Cannot load D
:/php516/php5apache2_2.dll into server: The specified module could not be found.

I renamed the apachelounge dll file to php5apache2_2.dll (and kept the original php5apache2.dll in the same dir). Maybe this can be the source of problems?
Back to top
Steffen
Moderator


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

PostPosted: Tue 04 Feb '14 12:52    Post subject: Reply with quote

You did not answered all my questions.

Do not rename, but just use: LoadModule php5_module "D:/php516/php5apache2.dll"

btw.
Just wondering why you test such old stuff ?
Back to top
gggeek



Joined: 13 Feb 2013
Posts: 10

PostPosted: Tue 04 Feb '14 13:32    Post subject: Reply with quote

yes, I did install vc2005 redistributable (version 8.0.61 for 32 bits)

I am testing phpxmlrpc.
It's a very stable (almost-dead) library. There are just minor fixes in the new release I'm preparing.
I think only people wanting to use it in 2014 are people stuck on platforms they can not upgrade for one reason or another.
Back to top
gggeek



Joined: 13 Feb 2013
Posts: 10

PostPosted: Tue 04 Feb '14 14:29    Post subject: Reply with quote

And btw, renaming the dll back to its original version did not help.

And no messages in windows event logs
Back to top


Reply to topic   Topic: php 5.1 dll for apache 2.2 View previous topic :: View next topic
Post new topic   Forum Index -> Other Software