This script creates a series of web servers defined in a config file on different ports.
- Copy
cliServers.shfrom below to the root directory in which you have all your php projects (e.g./var/www/ or ~/code/) - In that directory run
mkdir logs - Create a file in that directory called
configand add configuration for each web server as detailed below and exemplified in the config file in this gist. - Run
sh cliServers.shwhen you wish to start your web servers. They will run in the background until their processes are killed (by usingkillor a reboot).