Query about how the XAMPP works

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

Query about how the XAMPP works

Postby XamppLemming » 02. December 2011 17:39

Hi,

I'm running the latest version of XAMPP (just downloaded it today) on a Mac, the version number is : 1.7.3-beta1.

I have a query about how the application (GUI that has the stop/start buttons) launches Apache.

I've made some changes to the configuration of the Apache configuration, such as adding two export commands to the bin/envvars file. If a try and run apache using the app I am told 'ServerRoot' must have a value, the value is defined in one of the exports, so the code is basically this but across two files.

Code: Select all
export APACHE_HOME=/path/to/apache

ServerRoot "${APACHE_HOME}"


Now if I run sudo ./bin/apachectl start from the command line apache starts and everything works OK.

Does anyone know why using the GUI doesn't work? I assumed it just ran the apachectl file, or am I wrong.

Thanks

Mark
XamppLemming
 
Posts: 2
Joined: 02. December 2011 17:24
XAMPP Version: 1.8.3-2
Operating System: Mac

Re: Query about how the XAMPP works

Postby JonB » 02. December 2011 17:57

Did you read the bottom of this page:

http://www.apachefriends.org/en/xampp-macosx.html :?:


It would be useful to know which version of OS X you are on -

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Query about how the XAMPP works

Postby XamppLemming » 02. December 2011 18:04

Hi JonB,

thanks for the response.

Running xampp startapache gives me the same error message as trying to start apache using the gui.

So why does that not work and apachectl start does ?


[edit]

OS = OS X Lion
XamppLemming
 
Posts: 2
Joined: 02. December 2011 17:24
XAMPP Version: 1.8.3-2
Operating System: Mac

Re: Query about how the XAMPP works

Postby JonB » 02. December 2011 21:43

I've made some changes to the configuration of the Apache configuration


Did you make those changes before you tried to start XAMPP?

Also have you had Apache installed before???

8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Query about how the XAMPP works

Postby Sharley » 06. December 2011 09:40

[edit]
OS = OS X Lion
Mark, would you be so kind as to add that info to your profile:
viewtopic.php?f=29&t=48626
Thanks. :)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
XAMPP Version: 5.6.3
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: Nobbie and 2 guests