Has anyone here installed Apache and PHP on XP Pro?
Printable View
Has anyone here installed Apache and PHP on XP Pro?
I have
Are you having any specific problems or anything?
I can't get it to work properly and I was wondering if it had anything to do with XP.
I got Apache installed and working fine, but I can't get the PHP working. I keep getting 404 not found.
That's part of the directive towards PHP I believe. I had that happen.
In the .conf file you will see where it points to PHP...
somthing like "C:\PHP\PHP.exe" that has to be the correct directory, and the arguments below it must be correct.
If you keep it c:\PHP\PHP.exe and use the addmodule lines inside the install.txt within php it should work perfect
I did that.
I'm actually following the instructions in a magazine I got. It says once php is installed to open the browser and go to:
http://localhost:8080/~username/index.php
I tried that, using my own username of course, but got the 404 file.
By the way, I'm a complete beginner at PHP. I usually get someone else to do any php I need, but I decided it was time I learnt to do it myself. Not a good sign if I can't get the damn thing working though. :rolleyes:
Woohoo, got it working.
I was following the instructions in the magazine and couldn't get it to work, so I got rid of the damn magazine and read through the configuration file. The magazine said to put the test index.php file in My Documents but didn't mention anything about the DocumentRoot which was set at C:\Program Files\Apache Group\Apache2\htdocs.
So anyway, I'm all set now.
I'm off to write my first script. :)
heh, that will do it :)
I was getting the 404 cause apache couldn't find the php exe. So I thought that was your problem.
You can change the root folder in the configuration as well :) If you want for future ****