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).
brew install wget
brew install mysql
And PHPMyAdmin :
brew tap homebrew/dupes
brew tap josegonzalez/homebrew-php
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 :
But we promised to use PHP :
It works, but please read the guide written in readme.md file.
Follow the Author of this article :