WTF‽ I thought you said this was going to tell me how to install PHP‽ Make sure everything is up to date before installing any ports sudo /opt/local/bin/port -v selfupdate sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/ The installer will prepend your $PATH with the necessary /opt/local/bin:/opt/local/sbin: Make sure MacPorts knows the path for XcodeĪs of Xcode 4.3 you need to make sure Xcode knows where to look. ![]() Use the Mac OS X Mavericks Package (.pkg) Installer. (You must have a free Apple Developer account.) Agree to Xcode licenseĮither launch Xcode via GUI or run sudo xcodebuild -license Macappstore:///app/xcode/id497799835?mt=12 Install Xcode Command Line Toolsįind the latest version in the Mac Dev Center. You will never turn Apache on/off here again. Go to System Preferences -> Sharing and uncheck the Personal Web sharing. I like to prepend some of the commands with time just for curiosity’s sake to see how long it takes. If you don’t have a similar setup, just copy your configuration files to where they need to be. I keep most of my Apache/PHP/Percona (MySQL) configuration stuff in a local Git repository so I can track changes and I symlink to those from where they should be so you will see commands such as sudo ln -s ~/Documents/configs/PHP/fat-tony.local/php56.ini /opt/local/etc/php56/php.ini ![]() Install MAPP (MAMP) stack on El Capitan using MacPorts
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |