Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Results 1 to 6 of 6
  1. #1
    Qaaolchoura is offline Registered User
    Join Date
    Jul 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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

  2. #2
    nixgeek's Avatar
    nixgeek is offline Mac of the SubGenius! :-)
    Join Date
    Jan 2004
    Location
    Miami, FL
    Posts
    8,593
    Thanks
    32
    Thanked 157 Times in 141 Posts
    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.5.8/Ubuntu 10.04
    Asus Eee PC 901 (1.6 GHz Atom N270) - Fedora 13
    Apple Macintosh Quadra 650 (33 MHz MC68040) - Mac OS 8.1
    "JHVH-1" (2 GHz AMD Athlon XP 2400+) - Slackware 13.1

  3. #3
    ElDiabloConCaca's Avatar
    ElDiabloConCaca is offline U.S.D.A. Prime
    Join Date
    Aug 2001
    Location
    San Antonio, Texas
    Posts
    14,490
    Thanks
    10
    Thanked 648 Times in 610 Posts
    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
    2009 Mac mini 2.0GHz • 2010 MacBook Air 11" • 2010 MacBook Pro 13" • LED 24" Cinema Display
    PowerMac G4 MDD dual 1.25GHz • PowerMac G4 Yikes! • iPad 2 32GB • 2 x iPhone 4 16GB • iPod Touch 8GB • iPod nano 1GB • iPod shuffle 1GB • AirPort Extreme dual-band • AppleTV
    http://www.jeffhoppe.com

  4. #4
    nixgeek's Avatar
    nixgeek is offline Mac of the SubGenius! :-)
    Join Date
    Jan 2004
    Location
    Miami, FL
    Posts
    8,593
    Thanks
    32
    Thanked 157 Times in 141 Posts
    My apologies....wasn't aware that XAMPP used MAMP.
    Apple iMac G5 17" (2 GHz G5) - Mac OS X 10.5.8/Ubuntu 10.04
    Asus Eee PC 901 (1.6 GHz Atom N270) - Fedora 13
    Apple Macintosh Quadra 650 (33 MHz MC68040) - Mac OS 8.1
    "JHVH-1" (2 GHz AMD Athlon XP 2400+) - Slackware 13.1

  5. #5
    Qaaolchoura is offline Registered User
    Join Date
    Jul 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  6. #6
    nixgeek's Avatar
    nixgeek is offline Mac of the SubGenius! :-)
    Join Date
    Jan 2004
    Location
    Miami, FL
    Posts
    8,593
    Thanks
    32
    Thanked 157 Times in 141 Posts
    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.5.8/Ubuntu 10.04
    Asus Eee PC 901 (1.6 GHz Atom N270) - Fedora 13
    Apple Macintosh Quadra 650 (33 MHz MC68040) - Mac OS 8.1
    "JHVH-1" (2 GHz AMD Athlon XP 2400+) - Slackware 13.1

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •