Developing with PHP on your local machine
2 steps required
-
A. Run a PHP interpreter and a local server (serving the local machine)
Run in command line (in the directory of your php files)
This run a server for the local machine on the port 8000, and interpret PHP files.
-
(the local machine is always called: localhost)
-
B. Request the file from your browser/client on localhost
-
-
Load your browser at the address http://localhost:8000/
16/37