Trouble installing PHP 5.3 on WinXP, Apache 2.2

  • Follow


Hi,

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


0
Reply laredotornado (856) 1/18/2010 4:30:01 PM

El 18/01/2010 17:30, laredotornado@zipmail.com escribi�:
> 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 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
--
0
Reply ISO 1/18/2010 4:42:29 PM


On Jan 18, 10:42=A0am, "=C1lvaro G. Vicario"
<alvaro.NOSPAMTH...@demogracia.com.invalid> wrote:
> El 18/01/2010 17:30, laredotorn...@zipmail.com escribi=F3:
>
> > I'm trying to install PHP 5.3 on Apache 2.2, WinXP. =A0I'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 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- =C1lvaro G. Vicario - Burgos, Spain
> -- Mi sitio sobre programaci=F3n 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
0
Reply laredotornado 1/18/2010 7:07:48 PM

laredotornado@zipmail.com wrote:
> On Jan 18, 10:42 am, "�lvaro G. Vicario"
> <alvaro.NOSPAMTH...@demogracia.com.invalid> wrote:
>> El 18/01/2010 17:30, laredotorn...@zipmail.com escribi�:
>>
>>> 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 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.
jstucklex@attglobal.net
==================
0
Reply Jerry 1/18/2010 7:42:11 PM

On Jan 18, 1:42=A0pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> laredotorn...@zipmail.com wrote:
> > On Jan 18, 10:42 am, "=C1lvaro G. Vicario"
> > <alvaro.NOSPAMTH...@demogracia.com.invalid> wrote:
> >> El 18/01/2010 17:30, laredotorn...@zipmail.com escribi=F3:
>
> >>> I'm trying to install PHP 5.3 on Apache 2.2, WinXP. =A0I've added thi=
s
> >>> 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 see nothing wrong. Your setup is similar to mine.
>
> >> Did you download the appropriate binary? VC6 vs VC9, Thread Safe vs No=
n
> >> 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-=C1lvaro G. Vicario - Burgos, Spain
> >> -- Mi sitio sobre programaci=F3n 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. =A0This 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. =A0We
> > are sorry for the inconvenience.
>
> > The error signature is ...
>
> > szAppName : httpd.exe =A0 =A0 szAppVer : 2.2.14.0 =A0 =A0 szModName :
> > php5ts.dll
> > szModVer : 5.3.1.0 =A0 =A0 offset : 000e618c
>
> > Any other ideas? - Dave
>
> Ensure you're loading the correct dll's. =A0This is most often caused
> because you have multiple copies of one or more dll's. =A0To start with,
> get rid of any extra copies (i.e. from previous downloads of this
> version or a previous version you were running).
>
> --
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

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
0
Reply laredotornado 1/18/2010 8:17:38 PM

4 Replies
1532 Views

(page loaded in 0.1 seconds)

Similiar Articles:













7/22/2012 9:29:40 AM


Reply: