logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

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

or

Bitcoin

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

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: Need help configuring Apache and PHP
Author
tjm426



Joined: 06 Nov 2007
Posts: 3

PostPosted: Tue 06 Nov '07 4:56    Post subject: Need help configuring Apache and PHP Reply with quote

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

PostPosted: Tue 06 Nov '07 10:12    Post subject: Reply with quote

Do not use php5apache2.dll but php5apache2_2.dll than it will work.
Back to top
tjm426



Joined: 06 Nov 2007
Posts: 3

PostPosted: Tue 06 Nov '07 17:09    Post subject: Reply with quote

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

PostPosted: Wed 14 Nov '07 13:03    Post subject: Reply with quote

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

PostPosted: Wed 14 Nov '07 15:07    Post subject: Reply with quote

We also offer a great setup tutorial

http://www.apachelounge.com/viewtopic.php?t=570
Back to top
tjm426



Joined: 06 Nov 2007
Posts: 3

PostPosted: Thu 15 Nov '07 1:46    Post subject: Reply with quote

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


Reply to topic   Topic: Need help configuring Apache and PHP View previous topic :: View next topic
Post new topic   Forum Index -> Other Software