![]() In case you need mysql-workbench, please download it from here. Run following command: brew install mysql -enable-debug To Stop PHP-FPM launchctl unload -w ~/Library/LaunchAgents/ Installing MySQL on Mac OS X To Start PHP-FPM: launchctl load -w ~/Library/LaunchAgents/ Please check exact plist filename in /usr/local/Cellar/php54/ cp /usr/local/Cellar/php54/5.4.15/ ~/Library/LaunchAgents/ We have built it using: brew install php54 -with-fpm -with-imap -without-apache -with-debugĪfter long wait, you can verify php & php-fpm version using php -v and php-fpm -v respectively. If you do not tap homebrew/dupes you will get Error: No available formula for zlibīefore we build PHP 5.4, you may like to exercise options using: brew options php54 It will return long list of php 5.2, 5.3, 5.4 packages. Search for available PHP formulas (formula’s in homebrews are equivalent to packages in aptitude) brew search php Installing PHP 5.4 (with FPM) on Mac OS X In the end, you only install MySQL then simply turn everything on.įirst, open Terminal and switch to root to avoid permission issues while running these commands.There are many ways to install PHP, MySQL & Nginx on Mac. Furthermore, Apache and PHP are included by default. ![]() So all of these technologies install easily on Mac OS X. It is important to remember Mac OS X runs atop UNIX. Personally, the choice to do it myself has proven invaluable. But they forego the learning experience and, as most developers report, eventually break. These packages help get you started quickly. I am aware of the several packages available, notably MAMP. This post serves as much for my own record as to outline how to install Apache, MySQL, and PHP for a local development environment on Mac OS X Mountain Lion Mavericks. ![]() ![]() ![]() Each version of Mac OS X having some minor difference. I have installed Apache, PHP, and MySQL on Mac OS X since Leopard. 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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |