image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old July 2nd, 2008, 11:35 AM
Registered User
 
Join Date: Jul 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Qaaolchoura is on a distinguished road
Installed Apache, how do I open root in terminal shell?

OK, sorry for sounding like a technological imbecile here, but then, I am.

I downloaded Apache (which supposedly comes with php and mySQL integrated) from a website called Apache friends, and attempted to follow the installation instructions.

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

Everything seemed to go alright until I hit step 3.2.
It kept telling me that
"You need to start XAMPP as root!"
So I enabled root user in directory utility, and tried the command "sudo root" on the advice of a friend who uses Linux, and it prompted me not for the root password but for my normal password.

And of course, it still gives me the same error message ("You need to start XAMPP as root!") when I try:

/Applications/xampp/xamppfiles/mampp start

So how do I start xampp as root in the terminal shell?

Thanks much,
Luke
Reply With Quote
  #2  
Old July 2nd, 2008, 11:53 AM
nixgeek's Avatar
Mac of the SubGenius! :-)
 
Join Date: Jan 2004
Location: Miami, FL
Posts: 7,686
Thanks: 17
Thanked 95 Times in 79 Posts
nixgeek has a spectacular aura aboutnixgeek has a spectacular aura aboutnixgeek has a spectacular aura about
Any particular reason you chose not to go with MAMP as a solution over XAMPP?

http://www.mamp.info/en/mamp.html
__________________
Apple iMac G5 17" (2 GHz G5) - Mac OS X 10.4.11
Apple Macintosh Quadra 650 (33 MHz MC68040) - Mac OS 8.1
Apple PowerBook Duo 230 (33 MHz MC68030) - System 7.1
"JHVH-1" (2 GHz AMD Athlon XP 2400+) - Slackware 12.1
"Kidbuntu" (2.8 GHz Celeron D 335) - Ubuntu 8.04
Reply With Quote
  #3  
Old July 2nd, 2008, 03:27 PM
ElDiabloConCaca's Avatar
U.S.D.A. Prime
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 10,275
Thanks: 3
Thanked 108 Times in 100 Posts
ElDiabloConCaca is a jewel in the roughElDiabloConCaca is a jewel in the roughElDiabloConCaca is a jewel in the rough
Quote:
Originally Posted by Qaaolchoura View Post
So how do I start xampp as root in the terminal shell?
Code:
sudo /Applications/xampp/xamppfiles/mampp start
__________________
Power Macintosh G4/500MHz "Yikes!" 10.4.11 Server • 1024MB • 3 x 120GB + 320GB • DVR-111D • 2 x Radeon 7000 PCI • 2 x 17" CRT
MacBook 2.0GHz Core 2 Duo - White 10.5.5 • 2048MB • 80GB • CD-RW/DVD-ROM
iPod Photo 60GB • iPod nano 1GB • AT&T DSL 6Mb/768k
http://www.jeffhoppe.com
Reply With Quote
  #4  
Old July 2nd, 2008, 06:07 PM
nixgeek's Avatar
Mac of the SubGenius! :-)
 
Join Date: Jan 2004
Location: Miami, FL
Posts: 7,686
Thanks: 17
Thanked 95 Times in 79 Posts
nixgeek has a spectacular aura aboutnixgeek has a spectacular aura aboutnixgeek has a spectacular aura about
My apologies....wasn't aware that XAMPP used MAMP.
__________________
Apple iMac G5 17" (2 GHz G5) - Mac OS X 10.4.11
Apple Macintosh Quadra 650 (33 MHz MC68040) - Mac OS 8.1
Apple PowerBook Duo 230 (33 MHz MC68030) - System 7.1
"JHVH-1" (2 GHz AMD Athlon XP 2400+) - Slackware 12.1
"Kidbuntu" (2.8 GHz Celeron D 335) - Ubuntu 8.04
Reply With Quote
  #5  
Old July 2nd, 2008, 08:19 PM
Registered User
 
Join Date: Jul 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Qaaolchoura is on a distinguished road
Quote:
Originally Posted by nixgeek View Post
Any particular reason you chose not to go with MAMP as a solution over XAMPP?

http://www.mamp.info/en/mamp.html
Regardless of whether or not XAMPP uses MAMP, I don't appear to have to be fiddling with the terminal shell, so thank you for the tip.

The point of getting an Apache server is so that I can learn php, and I now have it where it appears I can test php files.
Reply With Quote
  #6  
Old July 2nd, 2008, 11:12 PM
nixgeek's Avatar
Mac of the SubGenius! :-)
 
Join Date: Jan 2004
Location: Miami, FL
Posts: 7,686
Thanks: 17
Thanked 95 Times in 79 Posts
nixgeek has a spectacular aura aboutnixgeek has a spectacular aura aboutnixgeek has a spectacular aura about
Quote:
Originally Posted by Qaaolchoura View Post
Regardless of whether or not XAMPP uses MAMP, I don't appear to have to be fiddling with the terminal shell, so thank you for the tip.

The point of getting an Apache server is so that I can learn php, and I now have it where it appears I can test php files.
Understood, but I wasn't aware that one used the other, hence my question. I kind of got the impression that XAMPP was trying to shoehorn something to OS X that MAMP had already done. No worries.
__________________
Apple iMac G5 17" (2 GHz G5) - Mac OS X 10.4.11
Apple Macintosh Quadra 650 (33 MHz MC68040) - Mac OS 8.1
Apple PowerBook Duo 230 (33 MHz MC68030) - System 7.1
"JHVH-1" (2 GHz AMD Athlon XP 2400+) - Slackware 12.1
"Kidbuntu" (2.8 GHz Celeron D 335) - Ubuntu 8.04
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 05:01 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.