Results 1 to 9 of 9

Thread: Apache and PHP installation. RESOLVED

  1. #1

    Thread Starter
    Hyperactive Member GingerNut's Avatar
    Join Date
    May 2002
    Location
    Are those my feet?
    Posts
    372

    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.
    How is it one careless match can start a forest fire, but it takes a whole box to start a campfire?

    Global Freelancers | Web Traffic Analyser

  2. #2
    New Member
    Join Date
    Nov 2002
    Location
    Phoenix, Arizona
    Posts
    6
    I have

  3. #3
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Are you having any specific problems or anything?
    My evil laugh has a squeak in it.

    kristopherwilson.com

  4. #4

    Thread Starter
    Hyperactive Member GingerNut's Avatar
    Join Date
    May 2002
    Location
    Are those my feet?
    Posts
    372
    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.
    How is it one careless match can start a forest fire, but it takes a whole box to start a campfire?

    Global Freelancers | Web Traffic Analyser

  5. #5
    New Member
    Join Date
    Nov 2002
    Location
    Phoenix, Arizona
    Posts
    6
    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

  6. #6

    Thread Starter
    Hyperactive Member GingerNut's Avatar
    Join Date
    May 2002
    Location
    Are those my feet?
    Posts
    372
    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.
    How is it one careless match can start a forest fire, but it takes a whole box to start a campfire?

    Global Freelancers | Web Traffic Analyser

  7. #7

    Thread Starter
    Hyperactive Member GingerNut's Avatar
    Join Date
    May 2002
    Location
    Are those my feet?
    Posts
    372
    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.
    How is it one careless match can start a forest fire, but it takes a whole box to start a campfire?

    Global Freelancers | Web Traffic Analyser

  8. #8

    Thread Starter
    Hyperactive Member GingerNut's Avatar
    Join Date
    May 2002
    Location
    Are those my feet?
    Posts
    372
    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.
    How is it one careless match can start a forest fire, but it takes a whole box to start a campfire?

    Global Freelancers | Web Traffic Analyser

  9. #9
    New Member
    Join Date
    Nov 2002
    Location
    Phoenix, Arizona
    Posts
    6
    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
  •  



Click Here to Expand Forum to Full Width