Hosting a Local Web server using PHP

php -S 192.168.0.57:80 -t ~/wherever/your/index/file/is/located

Here, 192.168.0.57 is the static IP Address assigned to the machine/laptop.

Advertisements