PHP is a server-side language, so in order to make your code work you must put it on either a web-server or a local server. For the purposes of this tutorial we will install a local server called WAMP (for Windows users) or MAMP (for Mac users). You can also install LAMP server, if you use a Linux.
Noticing a pattern in these names? The only difference is the operating system. The -AMP part stands for Apache, MySQL, and PHP. We are using WAMP in this turotial, but use the version that matches your OS.
Make sure you have a text editor installed before proceeding (such as Atom, Sublime Text, or Notepad++).
You will be storing the code for this project in this repository. Before we go any further, navigate to the www folder in your terminal (which should be empty now). Clone your template project into this folder, using git:git clone https://github.com/adamd/php-course.git
Refresh your browser, and make sure you see folder for the php-course. If it worked, close this issue for the next step.
Initial Setup
PHP is a server-side language, so in order to make your code work you must put it on either a web-server or a local server. For the purposes of this tutorial we will install a local server called WAMP (for Windows users) or MAMP (for Mac users). You can also install LAMP server, if you use a Linux.
Noticing a pattern in these names? The only difference is the operating system. The -AMP part stands for Apache, MySQL, and PHP. We are using WAMP in this turotial, but use the version that matches your OS.
Make sure you have a text editor installed before proceeding (such as Atom, Sublime Text, or Notepad++).
Install WAMP server (Windows)
Install MAMP server (Mac)
Clone course repository
You will be storing the code for this project in this repository. Before we go any further, navigate to the www folder in your terminal (which should be empty now). Clone your template project into this folder, using git:
git clone https://github.com/adamd/php-course.git
Refresh your browser, and make sure you see folder for the php-course. If it worked, close this issue for the next step.