I would like to know if it is possible (and if so, how) to execute HTML files from the built-in PHP server (version 7.1.11).
I'm following Caelum's handout HTML, CSS and PHP. In the course, after building the pages in HTML, it is time to install PHP. I installed, started and everything went well. I navigate to the directory containing the HTML files and start the server with php -S 0.0.0.0:8080
to be accessible on the network. However, by calling index.html
in the browser I get a " The requested resource / was not found on this server. "; however, if I change the extent of index.html
to index.php
the page is executed (it just does not open the images).