CLI Servers Script
This script creates a series of web servers defined in a config file on different ports.
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
- 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.
sh cliServers.shwhen you wish to start your web servers. They will run in the background until their processes are killed (by using
killor a reboot).