Getting Startedįirst, open the Terminal app and switch to the root user to avoid permission issues while running these commands. But they forego the learning experience and, as most developers report, can become difficult to manage. I am aware of the web server software available for Mac OS X, notably MAMP. To create a local web server, all you need to do is enable them and install MySQL. Furthermore, Apache and PHP come packaged with Mac OS X. So most UNIX software installs easily on Mac OS X. This post is a complete update for installing Apache, PHP, and MySQL on Mac OS X Yosemite.Ī reminder that Mac OS X runs atop UNIX. Specifically, Yosemite includes Apache 2.4. It seems Mac OS X Yosemite makes my original post on installing Apache, PHP, and MySQL on Mac OS X obsolete. I recently upgraded to Mac OS X Yosemite. After you complete this post, you should upgrade PHP on Mac OS X. PHP Update: Mac OS X Yosemite comes pre-installed with PHP version 5.5 which has reached its end of life. It usually stores them at /etc/apache2/ on Unix systems, but the configuration directory can vary, depending on how it was installed and which operating system you’re running it on. MacOS Update: While these instructions still work, there are new posts for recent versions of macOS, the latest being Install Apache, PHP, and MySQL on macOS Mojave. Apache uses configuration files to change its behavior.
0 Comments
Leave a Reply. |