I'm trying to install PHP 5.3 on Apache 2.2, WinXP. I've added this
line to my httpd.conf file
LoadModule php5_module "C:/PHP/php5apache2_2.dll"
but when I start Apache using "httpd -k start", I'm getting this
error ...
C:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd -k
start httpd: Syntax error on line 503 of C:/Program Files/Apache
Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/PHP/
php5apache2_2.dll into server: The specified module could not be
found.
I have verified that the file exists. Can anyone think of any other
reasons why this isn't working? If this question is better asked on
another newsgroup, please let me know.
Thanks, - Dave
I see nothing wrong. Your setup is similar to mine.
Did you download the appropriate binary? VC6 vs VC9, Thread Safe vs Non
Thread Safe?
If you got Apache from httpd.org, you need the VC6+Thread Safe, which is
a bit hidden in the download page.
--
-- http://alvaro.es - �lvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programaci�n web: http://borrame.com
-- Mi web de humor satinado: http://www.demogracia.com
--
Thanks, I hadn't downloaded that version so I got the VC6+Thread
Safe. This time when I started Apache, I'm getting one of those
Microsoft Error Report dialogs that reports
Apache HTTP Server has encountered a problem and needs to close. We
are sorry for the inconvenience.
The error signature is ...
szAppName : httpd.exe szAppVer : 2.2.14.0 szModName :
php5ts.dll
szModVer : 5.3.1.0 offset : 000e618c
Any other ideas? - Dave
Ensure you're loading the correct dll's. This is most often caused
because you have multiple copies of one or more dll's. To start with,
get rid of any extra copies (i.e. from previous downloads of this
version or a previous version you were running).
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstu...@attglobal.net
==================
Thanks for this advice. What actually fixed things for me in the end
was installing PHP 5.2 instead of the 5.3 version I had before. I'm
fairly certain I have removed all other installations, but at least
I'm past the initial problem I was having.
- Dave