xampp and localhost

Discussion in 'Mac OS X System & Mac Software' started by sbrod, May 16, 2009.

  1. sbrod

    sbrod Registered

    Joined:
    May 13, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    I installed xampp but can't get files such as 'test.php' in htdocs to display in a browser. File sharing is enabled. Can anyone help?
     
  2. Satcomer

    Satcomer In Geostationary Orbit

    Joined:
    Jul 16, 2002
    Messages:
    9,154
    Likes Received:
    10
    Trophy Points:
    38
    Occupation:
    Looking toward the sky
    Location:
    Finger Lakes Region
    What version of OS X running on what Mac? Plus give us a link to the program you are having trouble with.
     
  3. ElDiabloConCaca

    ElDiabloConCaca U.S.D.A. Prime

    Joined:
    Aug 22, 2001
    Messages:
    14,523
    Likes Received:
    16
    Trophy Points:
    38
    Gender:
    Male
    Occupation:
    CTO
    Location:
    San Antonio, Texas
    You need to enable "Web Sharing," not "File Sharing," in order for web pages to work.

    Edit: Nevermind... you're using a 3rd party Apache installation, so the Mac OS X "Sharing" controls probably have no control over your installation.

    Did you open the XAMPP control panel and start Apache, mySQL, and ProFTPD?
     
  4. laeeqhumam

    laeeqhumam Registered

    Joined:
    May 16, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
  5. ElDiabloConCaca

    ElDiabloConCaca U.S.D.A. Prime

    Joined:
    Aug 22, 2001
    Messages:
    14,523
    Likes Received:
    16
    Trophy Points:
    38
    Gender:
    Male
    Occupation:
    CTO
    Location:
    San Antonio, Texas
    Sure, it's already built into OS X (minus mySQL). You can download and install mySQL from mysql.com, and OS X already has an Apache 2 webserver and php built-in.
     

Share This Page