There are several ways to run a server for your PHP web project. Mac comes with php pre-installed in it. In this video, we will learn how to run a server through the Terminal on Mac. It's really simple and you can get the current stable version for http://php.net/ . Because we need to run php codes, we need a server. PHP is a server-side language, unlike JavaScript that is a client-side language that can merely run on a browser without the requirement of a server. On Mac, a server can be run through the terminal but to make things easier for windows users, I'll suggest you to use the XAMPP server software from apachefriends.org/ .