Teaching Research and Publishings Speaking Engagements Professional Development About Me

Setting up a PHP Server on a Mac

Learning Code | Setting up a PHP Server on a Mac
Posted: September 9th, 2020

HTLM, CSS, and JavaScript are client-side langauges. These langauges are interpreted by the client computer (the computer visiting the website). Your computer, specifically your browser, understands these langauges so you can simply test your files using a browser.

PHP is a server-side language. PHP code needs to be interpreted by a server that understands PHP. To test a PHP file you will either need to install a local server on your computer or upload your files to your hosting account.

The following videos will walk you through setting up a PHP server on your computer. This can easily be done using MAMP.

PHP Big Picture | PHP Error Settings