Browsers try to download PHP files instead of run them

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Browsers try to download PHP files instead of run them

Postby random » 12. October 2007 14:02


I couldn't find any question similar to this in this forum:

I downloaded XAMPP for the Mac from here: ... -0.7.0.dmg
...and installed it on my Mac OS X 10.4.9.

It installed itself very simply but when I started it, and went to http://localhost/, all my browsers offered an index.php file to be downloaded, instead of displaying the web page.

When I press the Start button for 'All components' I see this message:

Starting XAMPP for MacOS X 0.7.0...
Unknown option: n
Usage: head [-options] <url>...
-m <method> use method for the request (default is 'HEAD')
-f make request even if head believes method is illegal
-b <base> Use the specified URL as base
-t <timeout> Set timeout value
-i <time> Set the If-Modified-Since header on the request
-c <conttype> use this content-type for POST, PUT, CHECKIN
-a Use text mode for content I/O
-p <proxyurl> use this as a proxy
-P don't load proxy settings from environment
-H <header> send this HTTP header (you can specify several)

-u Display method and URL before any response
-U Display request headers (implies -u)
-s Display response status code
-S Display response status chain
-e Display response headers
-d Do not display content
-o <format> Process HTML content in various ways

-v Show program version
-h Print this message

-x Extra debugging output
XAMPP: Starting Apache...
XAMPP: Starting MySQL...
XAMPP for MacOS X started.


It seems kind of strange because there was nothing to configure, so I don't know what could have gone wrong.
Posts: 1
Joined: 12. October 2007 12:35

Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 6 guests