OSX + php

Out of context: Reply #12

  • Started
  • Last post
  • 21 Responses
  • DigitalMan0

    Hmmm, ok, I have hit a snag with the above install.

    At the end it tells me that I can test if everything is ok but creating a phpinfo() file and running it like so:

    h ttp://localhost/~UserName/phpinf...

    and nothing happens!

    But if I make a copy of the file and place it in:
    Library/WebServer/Documents/
    and then try
    h ttp://localhost/phpinfo.php

    The Php info works.

    Any ideas what to do?

    (I changed DocumentRoot in httpd.conf to /Users/~UserName/Sites, but "realpath" in one of my Php scripts started giving not found errors).

View thread