learner-stack / php-course

An introduction to PHP with HTML
https://lab.github.com/everydeveloper/introduction-to-php
0 stars 0 forks source link

Installation #1

Closed github-learning-lab[bot] closed 3 years ago

github-learning-lab[bot] commented 3 years ago

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/learner-stack/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.

github-learning-lab[bot] commented 3 years ago

Nice! Lets get coding some PHP!

When a section is completed, a new issue will be created with the next step. Click here to continue.