Loaded Xamp - how to process PHP pages

Discussion in 'PHP' started by mnymkr, May 5, 2007.

  1. #1
    I have loaded XAMP and read a lot of the how tos but I still can't process my php scripts from my PC?
     
    mnymkr, May 5, 2007 IP
  2. TwistMyArm

    TwistMyArm Peon

    Messages:
    931
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What is happening then? Have you got the Apache service running? Are you accessing the files via http://127.0.0.1 as opposed to the filesystem?
     
    TwistMyArm, May 5, 2007 IP
  3. Xexi

    Xexi Well-Known Member

    Messages:
    91
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    100
    #3
    Are you sure Apache and Wamp are running? Left click the wamp server on your toolbar and start apache and wamp if they are not running.

    If I recall correctly, localhost/index.php should show your server configuration, tools (phpinfo(), PHPmyadmin and SQLitemanager), as well as any projects you start.

    To run any php file, make sure it is in the folder you set your working folder to (install directory\wamp\www\, I forget what the default folder is)
     
    Xexi, May 5, 2007 IP
  4. asterix

    asterix Well-Known Member

    Messages:
    1,095
    Likes Received:
    97
    Best Answers:
    0
    Trophy Points:
    165
  5. fireshark

    fireshark Peon

    Messages:
    190
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Did you put it in the right place?
     
    fireshark, May 5, 2007 IP
  6. feyd

    feyd Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    You probably didn't put your PHP files into Xampp folder. I don't have Xampp installed but if I'm not mistaken you have to put your files into C:/.../xampp/htdocs/xampp/. Hope this helps. :)
     
    feyd, May 5, 2007 IP