Author |
|
tjm426
Joined: 06 Nov 2007 Posts: 3
|
Posted: Tue 06 Nov '07 4:56 Post subject: Need help configuring Apache and PHP |
|
|
Hello, I am new into web servers and PHP. I was wondering if some of you pro's could offer some tips as to why my build isn't working.
Apache Version:2.2.6 no ssl
Using this on localhost
PHP: 5.2.4
Running on Win XP
I followed these instructions pretty much to the T from this web site;
http://www.expertsrt.com/tutorials/Matt/install-apache.html
After following the instructions, it tells you to restart apache. This is after adding the LoadModule commands, and making sure that the PATH variable is added to the environment variables. When I try to restart appache, I get this command line error:
"httpd.exe: Syntax error on line 67 of C:/Web/WebServer/conf/httpd.conf: Cannot load C:/Web/WebServer/PHP/php5apache2.dll into server: the specified module could not be found."
I also picked up SAMS teach yourself PHP in ten minutes (HAHA yea right!) but the instructions in the appendix are far from explanatory. Any help would be greatly appreciated, let me know if I need to post some more information, thanks in advance... |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Tue 06 Nov '07 10:12 Post subject: |
|
|
Do not use php5apache2.dll but php5apache2_2.dll than it will work. |
|
Back to top |
|
tjm426
Joined: 06 Nov 2007 Posts: 3
|
Posted: Tue 06 Nov '07 17:09 Post subject: |
|
|
James Blond wrote: | Do not use php5apache2.dll but php5apache2_2.dll than it will work. |
Thank you sir, you are a hero in my eyes. |
|
Back to top |
|
ganesh.salpure
Joined: 14 Nov 2007 Posts: 1
|
Posted: Wed 14 Nov '07 13:03 Post subject: |
|
|
I followed the steps on this site and it works very fine for me. No problems with PHP and Apcahe
http://php-apache.blogspot.com |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|
tjm426
Joined: 06 Nov 2007 Posts: 3
|
Posted: Thu 15 Nov '07 1:46 Post subject: |
|
|
Yea, I was just using a newer version than what was specified in the tutorial. Then I put in the file that the tutorial said, without updating the filename. |
|
Back to top |
|