Running a PHP  program on Mac OS X
With PHP 5.5.30

Right click exio.php and save it.
"save link as" or "download linked file"

Open the terminal app in Applications/Utilities

type "/usr/bin/php ~/Downloads/exio.php" (Assuming you saved it in Downloads)
~ stands for your user directory.


Links:
Hello World in PHP on Mac OS X

last updated 4 Mar 2016