![]() In part one we’ll go over installing Homebrew, git, Apache, MySQL, and PHP. Because, to be honest, I kinda forget what I’ve done… Over a few posts we will look at every step of setting up a Moodle development machine from services configuration through installing Moodle and we’ll document all the tools and commands that are needed along the way. So I figured, if I’m going to do it- I might as well document it too. Apple will soon release a “new” OS (10.10 Yosemite) and in celebration I’ll format my hard drive and reinstall from scratch and then slowly start reconfiguring my machine for development purposes. Printf ‘\nexport PATH=”$(brew –prefix homebrew/php/php56)/bin:$PATH”‘ > ~/.profile Perl -p -i -e ‘s/DirectoryIndex //DirectoryIndex index.php //g’ /usr/local/etc/apache2/2.4/nf Pear config-set php_ini /usr/local/etc/php/5.6/php.ini Mysqladmin -u root password “NEWPASSWORD”īrew install php56 –homebrew-apxs –with-apache –with-homebrew-curl –with-homebrew-openssl –with-phpdbg –with-tidy –without-snmpĬhmod -R ug+w /usr/local/Cellar/php56/5.6.2/lib/php Ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents Sudo launchctl load /Library/LaunchDaemons/ Sudo chmod -v 644 /Library/LaunchDaemons/ Sudo chown -v root:wheel /Library/LaunchDaemons/ ![]() Sudo cp -v /usr/local/Cellar/httpd24/2.4.10/ /Library/LaunchDaemons Sudo launchctl unload -w /System/Library/LaunchDaemons/ 2>/dev/nullīrew install httpd24 –with-privileged-ports –with-brewed-ssl OS X 10.10 Yosemite, Apache, MySQL, PHP 5.6, (MAMP) Homebrew Dev Setup
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |