Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 3rd, 2006, 8:17 PM   #1
dark_omen
Hobbyist Programmer
 
Join Date: Dec 2004
Posts: 125
Rep Power: 4 dark_omen is on a distinguished road
Send a message via AIM to dark_omen
need help setting up php and apache on my windows XP machine

I am having trouble setting up PHP with my apache server on my windows machine. It gives me an error when I test the configuration saying that "Cannot load C:/php5/php5apache2.dll into server: The specified module cannot be found". I added (to the httpd file in the conf folder):
LoadModule php5_module "C:/php5/php5apache2.dll"
AddType application/x-httpd-php .php .php3 .phps
PHPIniDir "C:/php5/"
AddHandler server-parsed .shtml .html .htm .php
DirectoryIndex index.html index.htm index.php index.html.var

First off, I don't even know if I put these in the right location. The php files are all in c:/php5/, so I don't know why it can't find it, if that is even how you're suppose to do it.
I attached the actual httpd file as a text document for anyone who wants to see how everything is configured on the file. Also, everything was working fine with regular html file when I first configured my apache.

Thanks
Attached Files
File Type: txt httpd.txt (18.4 KB, 14 views)
dark_omen is offline   Reply With Quote
Old Jul 3rd, 2006, 8:24 PM   #2
Wizard1988
Professional Programmer
 
Wizard1988's Avatar
 
Join Date: Oct 2005
Location: Chitown
Posts: 417
Rep Power: 4 Wizard1988 is on a distinguished road
Send a message via AIM to Wizard1988
You should check out WAMP.

http://www.wampserver.com/en/
Wizard1988 is offline   Reply With Quote
Old Jul 3rd, 2006, 9:57 PM   #3
dark_omen
Hobbyist Programmer
 
Join Date: Dec 2004
Posts: 125
Rep Power: 4 dark_omen is on a distinguished road
Send a message via AIM to dark_omen
thanks that did it (packages are always great), still think I will try to configure it on my own, just for future reference.
dark_omen is offline   Reply With Quote
Old Jul 10th, 2006, 8:12 AM   #4
Godmode
Newbie
 
Join Date: Jun 2005
Posts: 13
Rep Power: 0 Godmode is on a distinguished road
php5apache2.dll

You need correct php5apache2.dll. That's all. Look at this attachment..
Attached Files
File Type: zip php5apache2.dll-php5.1.x.zip (13.1 KB, 15 views)
Godmode is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 8:25 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC