For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > November 2005 > setting up, please help









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author setting up, please help
M0stro

2005-11-10, 6:56 pm

I first setup apache 2.0.55, went fine, then I set up mysql 5.0 and it too
seemed to of installed just fine. By the way, I am running Windows XP Pro
SP2. Now I'm trying to set up PHP 5.0.5, but I keep getting the following -

Syntax error on line 958 of C:/Program Files/Apache
Group/Apache2/conf/httpd.con
f:
Cannot load C:/PHP/php5apache.dll into server: The specified module could
not be
found.
Note the errors or messages above, and press the <ESC> key to exit. 25...

I used the setup instructions from a book that does refer to previous
versions. Can someone point me to a detailed how to of a scenario like
mine? Or advice as to why the I get the error I am getting when starting
Apache after having edited the conf file? I have checked the obvious, and
my path to php5apache.dll is indeed good.


ZeldorBlat

2005-11-10, 6:56 pm

Find the file called php5apache.dll on your harddrive. Fix httpd.conf
to point to the right file.

CalgaryWebGuy

2005-11-12, 6:56 pm

M0stro wrote:
> I first setup apache 2.0.55, went fine, then I set up mysql 5.0 and it too
> seemed to of installed just fine. By the way, I am running Windows XP Pro
> SP2. Now I'm trying to set up PHP 5.0.5, but I keep getting the following -
>
> Syntax error on line 958 of C:/Program Files/Apache
> Group/Apache2/conf/httpd.con
> f:
> Cannot load C:/PHP/php5apache.dll into server: The specified module could
> not be
> found.
> Note the errors or messages above, and press the <ESC> key to exit. 25...
>
> I used the setup instructions from a book that does refer to previous
> versions. Can someone point me to a detailed how to of a scenario like
> mine? Or advice as to why the I get the error I am getting when starting
> apache after having edited the conf file? I have checked the obvious, and
> my path to php5apache.dll is indeed good.
>
>



sounds like you fogot to add c:\php to the path.

Do this:

(Done on XP Home, don't know if Pro is different)

Righ Click My Computer
Select Properties
Click the Adanced Tab
Click Environment Variables
Select 'Path' in System Variables
Add c:\php;
Click Ok
Restart Apache





CalgaryWebGuy

2005-11-12, 6:56 pm

CalgaryWebGuy wrote:
> M0stro wrote:
>
>
>
> sounds like you fogot to add c:\php to the path.
>



err perhaps I should actually *read* the question.

yeah you may of installed php to another director, in which case you
will need to edit the http.conf file to point to the proper location.

Jeff
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com