07-22-2020, 09:29 PM
(07-22-2020, 11:53 AM)TheOldPresbyope Wrote: Whoa. I learn something everyday. PHP can start a simple web server right from the command line.I should have RTM myself. Thanks for pointing me in the right direction.
So, being a curious sort, I checked the PHP manual.
Here's a snippet from the section on built-in web server
Quote:Example #6 Accessing the CLI Web Server From Remote Machines
You can make the web server accessible on port 8000 to any interface with:
$ php -S 0.0.0.0:8000
Regards,
Kent