|
-
Nov 21st, 2002, 04:53 PM
#1
Thread Starter
Hyperactive Member
Apache and PHP installation. RESOLVED
Has anyone here installed Apache and PHP on XP Pro?
Last edited by GingerNut; Nov 26th, 2002 at 05:19 PM.
-
Nov 21st, 2002, 07:44 PM
#2
New Member
-
Nov 21st, 2002, 08:22 PM
#3
Stuck in the 80s
Are you having any specific problems or anything?
-
Nov 22nd, 2002, 05:29 AM
#4
Thread Starter
Hyperactive Member
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.
-
Nov 22nd, 2002, 08:31 AM
#5
New Member
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
-
Nov 22nd, 2002, 08:42 AM
#6
Thread Starter
Hyperactive Member
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.
-
Nov 22nd, 2002, 08:50 AM
#7
Thread Starter
Hyperactive Member
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.
-
Nov 26th, 2002, 05:18 PM
#8
Thread Starter
Hyperactive Member
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.
-
Nov 26th, 2002, 07:01 PM
#9
New Member
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 ****
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|