PHP Script To Install WordPress on Mac is Quite Easy and Needs Few Minutes to Get Ready With Your WordPress localhost dev Site. There is no need to use MAMP like Software because the regular readers already know that we can install WordPress easily on OS X using Command Line. But, even without command line, if you use this script; you can setup WordPress.
It is quite obvious that, basically this PHP Script to Install WordPress on Mac will execute the written commands and thus we can save a good amount of time.
PHP Script To Install WordPress on Mac : Prerequisites
You will require Homebrew Package manager to be installed. You can check this guide for proper setup of Homebrew on latest version of OS X (we are using OS X 10.9.1 at the time of writing this guide).
---
MySQL and PHPMyAdmin will not be installed. You need to install them manually. Another needed software is GNU wget. By default, cURL is installed on Mac. Easy to install :
1 | brew install wget |
1 | brew install mysql |
And PHPMyAdmin :
1 | brew tap homebrew/dupes |
1 | brew tap josegonzalez/homebrew-php |
1 | brew install phpmyadmin |
PHP Script To Install WordPress on Mac : Two Ways
Well, you can use this bash script, its quite simple :
or this a bit advanced bash script :
1 | https://github.com/snaptortoise/wordpress-quick-install |
But we promised to use PHP :
1 | https://github.com/mtomic/wordpress-install |
It works, but please read the guide written in readme.md file.