![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
|
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 |
|
|
|
|
|
#2 |
|
Professional Programmer
|
|
|
|
|
|
|
#3 |
|
Hobbyist Programmer
|
thanks that did it (packages are always great), still think I will try to configure it on my own, just for future reference.
|
|
|
|
|
|
#4 |
|
Newbie
Join Date: Jun 2005
Posts: 13
Rep Power: 0
![]() |
php5apache2.dll
You need correct php5apache2.dll. That's all. Look at this attachment..
![]() |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|