Question

I'm running the PHP 5.4 built-in web server on my desktop PC. I can access my webpage on that same PC, but I was hoping I could access the page on my tablet as well.

Is there any way I can open it up so I can access my page anywhere on my home network?

Was it helpful?

Solution

According to this answer you should be able to make PHP listen on all interfaces using a command-line parameter :

For Windows :

C:/php/php.exe -S 0.0.0.0:80

or, for GNU/Linux :

/usr/bin/php -S 0.0.0.0:80
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top