If you see a message saying ' It Works!!', then apache is working correctly. Sudo launchctl load -w /System/Library/LaunchDaemons/ If you want apache to start on boot then issue this command Since Apache is already installed you need to start it and to confirm it works. Since Mac OS X Yosemite Apache and PHP come packaged with the OS so you only need to enable PHP and install MySQL If you are doing any kind of development on an mac then consider an installation of XCode (you can get this from the app store) which will install all sorts of odds and ends that you are likely to need now and then such as libraries for php etc. e.g sudo nano /etc/apache2/nf or sudo vi /etc/apache2/nf Mostly you need to be root to edit the files so precede your editor name by sudo. Most of this work is via the cli which you can use in the ‘terminal’ application. Also Apple does not cooperate with your changes when upgrading the OS.
The OS X install described here is essentially the same as a Linux install and so the advice there can be applied here. This page is for people who want to do an OSX install without using someone else's packaging.Ī native install of Moodle on an OSX machine is not really suitable as an internet linked live server but it is great for testing and development.