Install and Configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

Embed Size (px)

Citation preview

  • 7/30/2019 Install and Configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    1/15

    18/02/13 15:nstall and configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    Pgina 1 dtp://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion

    Install and configure Apache, MySQL, PHP and phpMyAdmin on OSX 10.8Mountain Lion

    Get your Local Web Development Server Purring on all FoursWith the new cat out of the bag, getting the AMP stack running is a little different on OS X Mountain Lion 10.8 than is its predecessor OS X 10.7 Lion, here is the lowdown on getting Apache, MySQL, PHP and phpMyAdmin running on the new Apple operating system.(OSX 10.7 AMP guide is here) .

    If you have upgraded from a previous OS X your hosting environment will be whacked and you need to fix certain configuration files toget that environment back, in particular enabling PHP, and if you used the username/ Sites document root folder in your home accountyou will need to add back in a user configuration file.

    Apache/WebSharingThe first difference in the new OS X 10.8 is the dropping of the GUI option in System Preferences > Sharing to turn on Web Sharing , itmay be gone but the webserver Apache is definitely under the hood of the OS and ready to go.

    No Web Sharing Option in System Preferences

    Apache is pre-installed in the OS and needs to be enabled via the command line - this needs to be done in Terminal which is foundat /Applications/Utilities/Terminal

    to start it

    http://support.apple.com/kb/HT5230?viewlocale=en_US&locale=en_UShttp://www.coolestguyplanettech.com/how-to-install-php-mysql-apache-on-os-x-10-6/http://coolestguyplanettech.com/downtown/
  • 7/30/2019 Install and Configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    2/15

    18/02/13 15:nstall and configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    Pgina 2 dtp://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion

    sudo%apachectl%start

    to stop it

    sudo%apachectl%stop

    to restart it

    sudo%apachectl%restart

    To find the Apache version

    httpd%.v

    The version installed in Mountain Lion is Apache/2.2.22

    After starting Apache - test to see if the webserver is working in the browser - http://localhost - you should see the "It Works!" text.

    If you want a GUI point and click web sharing toggle switch in System Preferences, this is one from clickontyler . Some people have hadissues with this sys pref so use at your own decision.

    Document RootDocument root is the location where the files are shared from the file system and is similar to the traditional names of 'public_html' and'htdocs', OSX has historically had 2 web roots one at a system level and one at a user level - you can set both up or just run with one,the user level one allows multiple acounts to have their own web root whilst the system one is global for all users. It seems there is lesseffort from Apple in continuing with the user level one but it still can be set up with a couple of extra tweaks.

    System Level Web Root- the default system document root is still found at -

    http://localhost/

    http://amz.clickontyler.com/WebSharing.dmghttp://localhost/
  • 7/30/2019 Install and Configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    3/15

  • 7/30/2019 Install and Configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    4/15

    18/02/13 15:nstall and configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    Pgina 4 dtp://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion

    sudo%chmod%644%username conf

    Restart Apache for the new file to be read:

    sudo%apachectl%restart

    Then this user level document root will be viewable at:

    http://localhost/~username/

    PHPPHP 5.3.13 is loaded in OSX 10.8 Mountain Lion and needs to be turned on by uncommenting a line in the httpd.conf file.

    sudo%nano%/etc/apache2/httpd conf

    Use "control" + "w" to search and search for 'php' this will land you on the right line then uncomment the line (remove the #):

    LoadModule%php5_module%libexec/apache2/libphp5 so

    Write out and Save using the nano short cut keys at the bottom 'control o' and 'control x'

    Re-load apache to kick in

    sudo%apachectl%restart

    To see and test PHP, create a file name it "phpinfo.php" and file it in your document root with the contents below, then view it in a

    browser.

    %

    MySQLMySQL is again a missing component in OS X 10.8 and needs to be dowloaded from the MySQL site use the Mac OS X ver. 10.7(x86, 64-bit), DMG Archive version (works fine on 10.8).

    When downloading you dont have to sign up, look for No thanks, just take me to the downloads! - go straight to the downloadmirrors and download the software from a mirror which is closest to you.

    Once downloaded install the 3 components. You may need to adjust the Security and Privacy System Pref to allow installs of 3rd partyapps because of the new security feature of Mountain Lion known as the 'Gatekeeper', which keeps unscrupulous installer packages atbay.

    To get around this without changing the global preferences (better!) right click or command click the .pkg installer to bring up thecontextual menu and select open, then you get the warning - then click Open.

    http://dev.mysql.com/downloads/mysql/
  • 7/30/2019 Install and Configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    5/15

    18/02/13 15:nstall and configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    Pgina 5 dtp://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion

    Install all 3...

    mysql5.5.xxx.pkgMySQLstartupitem.pkgMySQLPrefPane

    The first is the MySQL software, the 2nd item allows MySQL to start when the Mac is booted and the third is a System Preference thatallows start/stop operation and a preference to enable it to start on boot.

    You can start the MySQL server from the System Preferences or via the command line

    sudo%/usr/local/mysql/support.files/mysql server%start%

    To find the MySQL version from the terminal, type at the prompt:

    /usr/local/mysql/bin/mysql%.v

    This also puts you in to an interactive dialogue with mySQL, type \q to exit.

    After installation, in order to use mysql commands without typing the full path to the commands you need to add the mysql directory toyour shell path, (optional step) this is done in your .bash_profile file in your home directory, if you dont have that file just create it usingvi or nano:

  • 7/30/2019 Install and Configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    6/15

    18/02/13 15:nstall and configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    Pgina 6 dtp://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion

    cd%;%nano% bash_profile

    export%PATH="/usr/local/mysql/bin:$PATH"

    The first command brings you to your home directory and opens the .bash_profile file or creates a new one if it doesnt exist, then add inthe line above which adds the mysql binary path to commands that you can run. Exit the file with type control + x and when promptedsave the change by typing y. Last thing to do here is to reload the shell for the above to work straight away.

    source%~/ bash_profile

    mysql%.v

    You will get the version number again, just type \q to exit.

    Set the MySQL root passwordNote that this is not the same as the root or admin password of OSX - this is a unique password to the mysql root user , use one andremember/jot down somewhere what it is.

    /usr/local/mysql/bin/mysqladmin%.u%root%password%'yourpasswordhere'

    Use the single 'quotes' surrounding the password

    phpMyAdminphpMyAdmin is installed pretty much the same way as before .

    Fix the 2002 socket error first -

    sudo%mkdir%/var/mysql

    sudo%ln%.s%/tmp/mysql sock%/var/mysql/mysql sock

    Download phpMyAdmin , the english.tar.gz package, uncompress and move the folder with its contents into the document root levelrenaming folder to 'phpmyadmin'.

    Make the config folder

    mkdir%~/Sites/phpmyadmin/config

    Change the permissions

    chmod%o+w%~/Sites/phpmyadmin/config

    Run the set up in the browser

    http://localhost/~username/phpmyadmin/setup/ or http://localhost/phpmyadmin/setup/

    http://localhost/phpmyadmin/setup/http://localhost/~username/phpmyadmin/setup/http://www.phpmyadmin.net/home_page/downloads.phphttp://www.coolestguyplanettech.com/installing-phpmyadmin-on-mac-osx-10-7-lion/
  • 7/30/2019 Install and Configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    7/15

    18/02/13 15:nstall and configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    Pgina 7 dtp://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion

    The new server to be configured is the localhost, click new server.

    Then the only other configurations are the local mysql user and the password in the Authentication tab. Add in the username root (maybe already populated, add in the password that you set up earlier for the MySQL root user set up, clickon save and you are returned to the previous screen.

    http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#password
  • 7/30/2019 Install and Configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    8/15

    18/02/13 15:nstall and configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    Pgina 8 dtp://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion

    OSX Web Host apache mysql php

    182

    Like

    128

    Tweet

    382

    Make sure you click on save, then a config.inc.php is now in the /config directory, move this file to the root level of /phpmyadmin andthen remove the now empty /config directory.

    Now going to http://localhost/~username/phpmyadmin/ will now allow you to interact with your MySQL databases.

    To upgrade phpmyadmin just download the latest version and copy the older ' config.inc.php ' from the existing directory into the newfolder and replace - backup the older one just in case.

    If you need virtual hosts configured I have added a separate guide on how to set these up in the Apache config files .

    That's it! You now have the native AMP stack running ontop of the tamed Mountain Lion.

    Tags:

    239 comments

    What's this?RECOMMENDED CONTENT ALSO ON COOLEST GUY ON THE PLANET

    Opponents of Natural Gas Exports Are Missing the Facts ExxonUpgrade Jailbroken iPhone to iOS6.1 Untethered with evasi0n 6 comments

    42

    http://redirect.disqus.com/url?url=http%3A%2F%2Fwww.coolestguyplanettech.com%2Fupgrade-jailbroken-iphone-to-ios6-1-with-evasi0n%2F%3AIQXdBnQe_brLBR_uINLpYOwPXIM&imp=1361224012864808322&zone=internal_discovery&forum=coolestguyontheplanet&source_thread_id=585112827&thread=1071961398http://coolestguyplanettech.com/downtown/how-set-virtual-hosts-apache-osx-108-mountain-lionhttp://coolestguyplanettech.com/downtown/how-set-virtual-hosts-apache-osx-108-mountain-lionhttp://localhost/~username/phpmyadmin/http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://redirect.disqus.com/url?url=http%3A%2F%2Fwww.coolestguyplanettech.com%2Fupgrade-jailbroken-iphone-to-ios6-1-with-evasi0n%2F%3AIQXdBnQe_brLBR_uINLpYOwPXIM&imp=1361224012864808322&zone=internal_discovery&forum=coolestguyontheplanet&source_thread_id=585112827&thread=1071961398http://redirect.disqus.com/url?url=http%3A%2F%2Fwww.exxonmobilperspectives.com%2F2013%2F01%2F17%2Fhonest-debate-on-exports-requires-adherence-to-facts%2F%3Futm_source%3Dpaid.disqus.com%26utm_medium%3Dcpc%26utm_campaign%3DPerspectives_-_Energy_Exports%3AiFni-0H3Z4NognqAdmChBaqBmrs&imp=1361224012864808322&zone=promoted_discovery&forum=coolestguyontheplanet&source_thread_id=585112827&advertisement_id=24839&body_id=25252http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://twitter.com/search?q=http%3A%2F%2Fcoolestguyplanettech.com%2Fdowntown%2Finstall-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lionhttps://twitter.com/intent/tweet?original_referer=http%3A%2F%2Fcoolestguyplanettech.com%2Fdowntown%2Finstall-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion&related=%3ACheck%20it%20out!&text=Install%20and%20configure%20Apache%2C%20MySQL%2C%20PHP%20and%20phpMyAdmin%20on%20OSX%2010.8%20Mountain%20Lion&tw_p=tweetbutton&url=http%3A%2F%2Fcoolestguyplanettech.com%2Fdowntown%2Finstall-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion&via=neilgee01http://coolestguyplanettech.com/downtown/tags/phphttp://coolestguyplanettech.com/downtown/tags/mysqlhttp://coolestguyplanettech.com/downtown/tags/apachehttp://coolestguyplanettech.com/downtown/tags/web-hosthttp://coolestguyplanettech.com/downtown/tags/osx
  • 7/30/2019 Install and Configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    9/15

    18/02/13 15:nstall and configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    Pgina 9 dtp://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion

    Leave a message...

    Discuss ion Com m unity #Share

    Reply

    Ken 7 months ago

    Hi,

    I get the following errors on http://localhost/~username:

    Forbidd en

    You don't have permission to access /~username/

    on this server.

    I try chm od 0777 for /Users/username/Sites ... but ...Any ideas for this problem ... Thanks so much 20 1

    Reply

    marc 7 months ago> Ken

    He y I ma de it with

    sudo chgrp -R _www /users/username/sites

    sudo chmod -R 774 /users/username/sites

    but i really don't know if its the best way. 4

    Reply

    buddhi de silva 7 months ago> Ken

    One possible reason is that you might have enabled URL Rewriting for your app/site (uses .htaccess file). Try adding

    Options FollowSymLinks

    to your username.conf and it might work for you.. 5 1

    Reply

    Jarek 4 months ago> buddhi de silva

    change "username" to your real username in /etc/apache2/users/{your_username}.conf 1

    Reply

    Steven Vachon 5 months ago> buddhi de silvaI can't get this to work either. I've tried all the solutions mentioned.

    0

    Reply

    monkey 4 months ago> Steven Vachon

    http://www.coolestguyplanettec... 0

    Christopher Mori 2 months ago> Ken

    Neil,

    Thanks very much for this guide; it is extremely helpful.

    I am having trouble getting my web server running from my user directory (no issues from the main localhost web server). I hadsuccessfully used my ~/Sites directory prior to Mountain Lion (and Lion for that matter), and have followed the instructions listed

    above, but still get the "403 Forbidden You don't have permission to access /~[myusername]/ on this server." message.

    I added the [myusername].conf file to /etc/apache2/users/, and added the content you recommended. The file's permissions are -rw-

    r--r--. When that didn't work, I modified the options line as follows:

    Options Indexes MultiViews FollowSymLinks

    based on the recommendation from buddhi. No luck. (As an aside, my Users directory is on a different drive than my system &

    applications, but there is a symbolic link in place.)

    Share

    Share

    Share

    Share

    Share

    Share

    http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-598201481http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-734081473http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-598201481http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-734081473http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://www.coolestguyplanettech.com/forbidden-403-you-dont-have-permission-to-access-username-on-this-server/http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-652426576http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-678917234http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-600398475http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-652426576http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-600398475http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-700199717http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-598201481http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-600398475http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-598201481http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-606859716http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-598201481http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#
  • 7/30/2019 Install and Configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    10/15

    18/02/13 15:nstall and configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    Pgina 10 detp://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion

    Reply

    My ~/Sites directory has drwxr-xr-x@ permissions (the xattr is com.apple.FinderInfo). The index.html file has the following

    ownership & permissions:

    -rw-r--r-- 1 [myusername] staff 6186 Nov 9 2002 index.html

    I am not sure where to turn next; any help would be appreciated. I am sorry for the wall of text, but I am a relative novice, and wanted

    to err on the side of too much info.

    Thanks again.

    EDIT:

    Got it working. I needed to edit my /private/etc/apache2/extra/httpd-userdir.conf file to add a directory entry for my specific Sites

    path. The generic one wasn't working (I think) due to the symbolic links mentioned above.

    Thanks again for the great instructions. 1

    Reply

    Henrry 7 months ago> Ken

    Try chmod 701 for /Users/username/

    All directories in the path (/ /Users/ /Users/myusername/ /Users/myusername/Sites/) need to have execute permission 1

    Reply

    SanchonX

    7 months ago> KenI had the same problem, turned out it's because my user directory name had capital letters in it, but inside the

    username.conf file I typed the folder name as all lowercase.

    So for example, if your folder in Users is JoeSmith, make sure you've got /Users/JoeSmith/Sites (and not /Users/joesmith/Sites) as

    the first line. 1 1

    Reply

    Manuel Alejandro Mijangos Gonz 4 months ago> Ken

    I had the same problem because I made a mistake, username is supposed to be replaced by your User name in my case

    alejandro, and I did it like that except in the file name, so instead of alejandro.conf i named it username.conf, once I realized that and

    fixed it, it worked, hope this helps a bit 0

    Reply

    Bob Jonson 7 months ago> Ken

    You do not need the first 0, you should do chmod 777 /Users/username/Sites 0

    Reply

    Camille 7 months ago> Bob Jonson

    Hi ! I had the same, the 755 in the article is wrong, but in the example it is good :

    -rw-r--r-- 1 root wheel 298 Jun 28 16:47 username.confso you should use :

    sudo chmod 644 username.conf

    and ... for the naive eyes reading these solutions, chmod 777 is more

    a source of problem than a kind of rapid solution.

    1

    Reply

    Neil Gee 7 months agoMod > Camille

    fixed in guide ...

    sudo chmod 644 username.conf 0

    Michael Otton 7 months ago

    Thanks for this great guide. Issue I'm getting is phpMyAdmin - Error in a big red bar. Can anyone help?

    Share

    Share

    Share

    Share

    Share

    Share

    Share

    http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-606309497http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-611929892http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-611942052http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-598576895http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-611929892http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-598201481http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-598576895http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-598201481http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-693546775http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-598201481http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-605539048http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-598201481http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-600320758http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#
  • 7/30/2019 Install and Configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    11/15

    18/02/13 15:nstall and configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    Pgina 11 detp://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion

    Reply 7 1

    Reply

    Nenad Novakovic 5 months ago

    I have enabled php and created sites and user config. However I have some problems. I am on Mountain Lion 10.8.2 and I dont

    know if this is just me or its latest OS problem.

    localhost works fine

    localhost/~dvLden works fine as well

    but if I open one of the projects likelocalhost/~dvLden/project1

    either I recieve an error that I dont have permission to that folder

    or on some projects, site loads up, but many scripts and images are broken (cannot be loaded) and message is path is incorrect.

    Any clues what is the problem ? Cause paths are correct. 4

    Reply

    David Mair Spiess 5 months ago> Nenad Novakovic

    Same probleme here.. if i install the slim framework in the localhost/~username directory i get a htaccess error. if i copy the

    framework in the localhost directory

    /Library/WebServer/Documents/everthing works fine.. banging my had since days 0

    Reply

    Jeremy Armes 7 months ago

    Thanks man you rock! 3

    Reply

    Wayne Smerdon 2 months ago

    Hi,

    I'm good until I get to the "mkdir ~/Sites/phpmyadmin/config" line under phpMyAdmin where I get a "No such file or directory" error. I

    think it is related to not creating a Sites directory under the User Level Root, but why would I be creating a directory there if everything else

    is installed under the System Level Root? Just a little confused as to where this is being setup. If someone can shed some light on this

    before I proceed that would be great.

    Okay, I tried to create the User Level Sites directory and move on but its not working out. I created the Sites directory under my user folder

    and created the conf file per the instructions but viewing the localhost/~username location renders an "The requested URL /~username/

    was not found on this server." error. So, I need a bit of guidance. 2

    Reply

    recklesscoder 4 months ago

    A great guide. Thanks! 2

    Reply

    Clayton 7 months ago

    Although I found your previous posts regarding Lion quite helpful, I find this one not so helpful. I am using mountain loin and

    mountain lion server, which allows me to turn on web services, start php, and host multiple sites that are not tied to particular users. How

    does one install and access phpmyadmin without creating user sites for which I have no use? I have phpmyadmin installed at

    /Library/Server/Web/Data/Sites/phpmyadmin. How do I access that? localhost/~??????? 2

    Reply

    chris thacker 6 months ago> Clayton

    by default it needs to go in the path you've listed but inside the .../Default/ directory 1

    Rizky Syazuli 7 months ago

    Share

    Share

    Share

    Share

    Share

    Share

    Share

    Share

    http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-599738427http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-612859136http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-632381263http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-612859136http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-701347881http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-748958399http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-599122218http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-656662209http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-666399264http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-656662209http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#
  • 7/30/2019 Install and Configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    12/15

    18/02/13 15:nstall and configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    Pgina 12 detp://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion

    Reply

    thx for the tips man.. i'm surprised Apple didn't notify users of this. gave me quite the scare there for a while. it's always like this

    every upgrade.

    btw, some other command line tool is also disabled. Git for example. but it's easy to fix, just like MySQL, you simply need to put the path to

    Git in your .bash_profile or .profile 3 1

    Reply

    dewe 6 months ago

    Thank you. In this way: Apple sucks! 2 1

    Reply

    Adam Johnson 6 months ago

    Superb guide. A lot more straightforward than it appears at first glance and it doesn't take too long to get through. 1

    Reply

    Andres 7 months ago

    These instructions worked great coming from a 10.7 upgrade. 1 1

    Reply

    Lauri Ranta 7 months ago

    Wouldn't you also have to enable the launchd agent with `launchctl load -w

    /System/Library/LaunchDaemons/org.apache.httpd.plist`? Or is apache started automatically after restarting the OS if you just start it

    once with `sudo apachectl start`? 0 1

    Reply

    Neil Gee 7 months agoMod > Lauri Ranta

    No it still will be running on reboot 0

    Reply

    Cucurucho Cucaracha 6 months ago> Neil Gee

    Sorry, not in my case (MBP13 9,1 & MBP15 8,2 on 10.8 & Mini 1,1 on 10.6.8 & Lapzilla2,1 on 10.7.4). You need to use

    the LaunchDaemons approach or something of the Unix sort if you want the Apache to survive reboots... 0

    Reply

    Marijn Depraetere 7 months ago

    What a perfect tutorial! I can't believe I've almost spent money on things like MAMP Pro for a simple setup like this. The only

    hickup I've got was when installing the mysql-server. As I already had one going it gave me the message 'ERROR! The server quit without

    updating PID file' in terminal when trying to start it. After googeling arround and trying some complicated stuff, i've just went to system

    preferences, went to the mysql-dialog, unchecked the "Automaticlly start MySQL Server on startup" and rebooted. Then, the old MySQL

    install wasn't booted, so the new one could start as promissed. Thank you for this simple cut-and-paste install guide. 0 1

    Reply

    Julian Symes 3 days ago

    Thanks for a very good tutorial. Saved me a lot of time! 0

    Descarreaux 5 days ago

    Good morning

    It is a great tutorial.

    I am a total newbie on terminal and , so far, it works perfectly.

    I am to download MySQL and, since I don't know the date of the tutorial, I was wondering if I should use the last iteration Mac OS X ver.

    10.7 (x86, 64-bit), or as the tutorial recommends the Mac OS X ver. 10.6 (x86, 64-bit).

    Share

    Share

    Share

    Share

    Share

    Share

    Share

    Share

    Share

    http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-798101246http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-800677640http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-606620149http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-610171515http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-623953152http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-608801877http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-610171515http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-608801877http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-598769061http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-622198008http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-629581874http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#
  • 7/30/2019 Install and Configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    13/15

    18/02/13 15:nstall and configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    Pgina 13 detp://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion

    Reply

    , . .

    Thank-you 0

    Reply

    Neil Gee 5 days agoMod > Descarreaux

    I will update the tutorial - but yes use the 10.7 version 0

    Reply

    abw

    8 days agoThank you so much--this was a life-saver. As a note, I had to uninstall my previous version of mySQL before things would work

    right. Good instructions to do that here: http://akrabat.com/computing/u... 0

    Reply

    Harry Adu 8 days ago

    AWESOME!! 0

    Reply

    nico 9 days ago

    thanks a lot for your tutorial 0

    Reply

    tommy 12 days ago

    I was working fine and now with the new update accessing the Mysql is different it looks like. Its a permissions thing I think. I get

    an error of: #1045 - Access denied for user 'username'@'localhost' (using password: YES) Not sure where to change this? 0

    Reply

    Gopal 16 days ago

    please help me, how to save username.config file using terminal.

    0

    Reply

    Neil Gee 7 days agoMod > Gopal

    you are using your actual username right? 0

    Reply

    Pascal van Geest 19 days ago

    Thanks! This did the trick :-) 0

    Reply

    Ismail Almahdi a month ago

    thank you. every useful information for a new mac user like me... 0

    Gilbert a month ago

    Hi Coolest Guy,

    Your tuto is just great and was very helpful for me with ML (10.8.2).

    But I regret to say that with phpMyAdmin 3.5.5, this step has to be omitted :

    "Make sure you click on save, then a config.inc.php is now in the /config directory, move this file to the root level of /phpmyadmin and

    then remove the now empty /config directory."

    Share

    Share

    Share

    Share

    Share

    Share

    Share

    Share

    Share

    Share

    http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-773939288http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-775687220http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-784164728http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-787180830http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-796305810http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://mediacdn.disqus.com/uploads/mediaembed/images/426/9856/original.jpghttp://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-787180830http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-790908942http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-793829128http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-794613152http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://akrabat.com/computing/uninstalling-mysql-on-mac-os-x-leopard/http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-795142718http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-798101246http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-798434378http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#
  • 7/30/2019 Install and Configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    14/15

    18/02/13 15:nstall and configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    Pgina 14 detp://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion

    Load more comments

    Reply

    If one doesn't skip this, it is impossible to go further (login and create any database) ...

    HTH, G. 0

    Reply

    Dolci Aiuti Shop a month ago

    Hi,

    thanks for the great tutorial.

    Everything worked fine until I try to go to /localhost/~username/phpmyadmin/setup which instead of beginning the setup of phpmyadmin display a mere list of the files inside the folder.

    Any thought on how to fix this?

    Andrea 0

    Reply

    Dawid Rogaczewski a month ago

    Thank you!!!! 0

    Reply

    Krisztina K. Weiss a month ago

    Thank you so much! Everything works fine! 0

    Reply

    actionscripted a month ago

    The phpMyAdmin link "phpMyAdmin is installed pretty much the same way as before" points to a dead domain

    (http://www.coolestguyplanet.ne... and should, it seems, point instead to http://www.coolestguyplanettec... 0

    Reply

    Neil Gee a month agoMod > actionscripted

    thanks - have updated the link 0

    Reply

    Anders a month ago

    Everything Worked except I am using wordpress and I get a error when uploading images Unable to create directory wp-

    content/uploads/2013/01. Is its parent directory writable by the server? 0

    Reply

    Neil Gee a month agoMod > Anders

    do the Post Mortem stuff at the bottom of this post to fix those things:

    http://www.coolestguyplanettec... 0

    Reply

    sfdafia 2 months ago

    thanks for the guide man! i'm familiar with all of it but too lazy to figure it out myself :) 0

    Reply

    PaulX 2 months ago

    Spot on - I followed your tutorial and with now I have it all running with no problems at all. Cheers! 0

    Share

    Share

    Share

    Share

    Share

    Share

    Share

    Share

    Share

    Share

    http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyontheplanet.disqus.com/install_and_configure_apache_mysql_php_and_phpmyadmin_on_osx_108_mountain_lion/latest.rsshttp://disqus.com/http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-753216447http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-754365068http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://www.coolestguyplanettech.com/fastest-way-to-install-wordpress-on-osx-10-6/http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-757564649http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-757612462http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-757564649http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-767465745http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-767954319http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://www.coolestguyplanettech.com/installing-phpmyadmin-on-mac-osx-10-7-lion/http://www.coolestguyplanet.net/installing-phpmyadmin-on-mac-osx-10-7-lion/)http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-767465745http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-767849149http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-770564713http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#comment-773843174http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#
  • 7/30/2019 Install and Configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    15/15

    18/02/13 15:nstall and configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

    Pgina 15 detp://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion

    Log in or register to post comments

    http://coolestguyplanettech.com/downtown/user/register?destination=node/41%23comment-formhttp://coolestguyplanettech.com/downtown/user/login?destination=node/41%23comment-formhttp://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion#http://coolestguyontheplanet.disqus.com/install_and_configure_apache_mysql_php_and_phpmyadmin_on_osx_108_mountain_lion/latest.rsshttp://disqus.com/