Monthly Archives: July 2017

php hello world on OSX

By | July 10, 2017

Getting a php hello world up and running is very quick in OSX. First of all, everything is there already. Apache and php. To start apache run: > sudo su > apachectl start Then go to http://localhost and you should see: The web directory is /Library/WebServer/Documents If you put hello.php there <html> <head> <title>PHP Test</title>… Read More »