Apache Lounge



Forum Index Downloads Search Register Log in  RSS Apache Lounge

Keep Server Online

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



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

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.

Another Apache 2.2.2 and PHP 5.1.4 tread

Post new topic   Reply to topic    Apache Forum Index -> Other Software

View previous topic :: View next topic  
Author Message

Joined: 08 Jun 2006
Posts: 3
Location: Torrance, CA

PostPosted: Thu 08 Jun '06 1:42    Post subject: Another Apache 2.2.2 and PHP 5.1.4 tread Reply with quote

Sigh, I hate to do this to you folks, but I'm having the same problems I've seen posted in other threads, and still can't seem to get this to work.

For starters, I've followed the How-To provided by pips, here: http://www.apachelounge.com/viewtopic.php?t=374

I've also read through several threads, most recently, this one: http://www.apachelounge.com/viewtopic.php?t=316&postdays=0&postorder=asc&start=0

I think I've followed everything verbatim in the above guides, and tried the fixes suggested.

I'm still gettting the aforementioned error:
httpd.exe: Syntax error on line 487 of C:/app/apache2/conf/httpd.conf: Cannot load C:/app/php514/php5apache2.dll into server: The specified module could not be found.

One interesting thing I have noted: when I comment out everything in the httpd.conf file and have the httpd.exe.manifest file in the apache/bin directory, the server won't come up. I can't even get the Apache "Test Configuration" tool to verify the httpd.conf file is correct. If I remove the .manifest file, it comes up fine, albeit without PHP.

The loadmodule part of httpd.conf looks like:

####### PHP #########
LoadModule php5_module c:/app/php514/php5apache2.dll
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php-source .phps

(I don't have a d: drive on my development machine, and c:/app is just for my comfort - I hate dumping things in root.)

php.ini is located in c:/windows as specified, and was constructed from the "dist" version according to the specs in the above how-to guide. It seems like it would be a bit much to upload, but I'd be willing to if you think it might help.

Path looks like:
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;;C:\Program Files\QuickTime\QTSystem\;c:\app\php514;C:\app\msql5022\bin

I've re-downloaded the php5apache2.dll-php5.1.x.zip file mentioned in the above threads, just because I thought I might have a bad copy.

Is it possible I'm missing a Microsoft library or something? I note this code was compiled in c++ and sometimes they assume a library is already present.

Anyhow, I'm sure you all are tired of answering this question over and over, but I'd really like to get this running.
Back to top

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

PostPosted: Thu 08 Jun '06 1:45    Post subject: Reply with quote

Did you installed the c++ redistributable, as stated in the Readme of the .zip ?
Back to top

Joined: 08 Jun 2006
Posts: 3
Location: Torrance, CA

PostPosted: Thu 08 Jun '06 2:07    Post subject: Reply with quote

I've done it both ways. The first time I did it the way pips said to do it, and then I tried doing it the way the readme in the .zip file said to do it.

Oh goldangit. I just read up a bit in the file and saw where it says Finally install the Visual C++ 2005 Redistributable Package (the binary is build with VC 2005).

Download it from:


dangit, I feel like a schnook. I'll go do this and report back.
Back to top

Joined: 08 Jun 2006
Posts: 3
Location: Torrance, CA

PostPosted: Thu 08 Jun '06 2:11    Post subject: Reply with quote

yup, that did it.

Lesson: rtfm.

Thanx for the quick response, Steffen, and for this site.
Back to top

Post new topic   Reply to topic    Apache Forum Index -> Other Software
Page 1 of 1