Default Apache vs XAMPP Apache???

I've been wrestling with this for several days now, and I'm back to square one. I just reinstalled XAMPP on my MacBook Pro and got the same error message as before - every program (PHP, MySQL, etc.) installed except Apache.

I copied the following from my Terminal program:

Password:
my-computer:/Users/[USERNAME] root# /Applications/xampp/xamppfiles/mampp start
Starting XAMPP for MacOS X 0.5...
XAMPP: Starting Apache with SSL (and PHP4)...
XAMPP: Error 1! Couldn't start Apache!
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for MacOS X started.
my-computer:/Users/[USERNAME] root#

But if I type http://localhost/ into my browser, I get the standard Apache greeting. I assume I'm viewing the default Apache installation. (Is that's what's stopping my new Apache installation from starting?)

Are there any XAMPP fans who can tell me what's going on? Just because Apache doesn't start doesn't necessarily mean it isn't installed, right? Can anyone suggest how to trouble-shoot this? I assume I simply have to find the proper files and find another way to start Apache, right? Do I first have to find the default Apache installation and disable it?

Thanks.

MacBook Pro

Posted on Aug 6, 2006 7:31 AM

Reply
9 replies

Aug 6, 2006 8:03 AM in response to David Blomstrom

P.S. I suppose the logical alternative is to simply use the default Apache installation, since it appears to be working. But I can't even locate it. I thought it might be in Library > Webserver, but that folder appears to be empty.

I've been typing the names of specific Apache files in my Spotlight finder, but it only shows files associated with my XAMPP installation. So where is Apache installed on a Mac by default?

May 5, 2007 5:34 PM in response to David Blomstrom

I know it's nearly a year since you asked and this might not solve your problem -- but it sounds like one I had. Turns out that what fixed my problem was realizing that the XAMPP runs in a secure server environment -- at least when I installed it following the standard rules it did.

So I always got the same errors like yours, but kept seeing the happy Apache test page. Then (by some miracle) it dawned on me I was supposed to be typing in

..... "https: //localhost/"....

That little 's' at the end of 'http' made all the difference. Everything worked fine then! Hope this helps.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Default Apache vs XAMPP Apache???

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.