PHP is an awesome programming language that you can use on the web. There are millions of
websites and web applications that are currently online that use PHP and rely on PHP on the
back end. In this course, Mike will show you how to install and setup PHP on Windows. And
hopefully, by the end of...
Introduction to PHP
● What is PHP?
● Why use PHP?
● Setting up the development environment (e.g. XAMPP, MAMP, WAMP)
● The basic structure of a PHP file
PHP is an awesome programming language that you can use on the web. There are millions of
websites and web applications that are currently online that use PHP and rely on PHP on the
back end. In this course, Mike will show you how to install and setup PHP on Windows. And
hopefully, by the end of this course you have a better understanding of PHP. The first thing we
want to do is just head over to our browser , we 're going to go ahead and download something.
And now over here , you 'll see that there 's a bunch of different options. This is going to be the
latest version of PHP that's available. So in our case , it 's 7. 1. And I 'm going ahead and
extracting all of the files that are in here into another folder. So once we 've typed that in , I'm just
going to click extract. And once we have this zip file. So when that is finished downloading , let 's
just hop over to the Downloads folder. A , if you want to put them somewhere else , you can put
them at the root directory of your C drive. When that 's finished extracting , you 'll see that it
opens up this PHP folder here. So we have to tell Windows that PHP is inside of this folder. So
eventually we 're going to want to run PHP and use it and use all its functionality.
In this tutorial, I 'm going to talk to you guys about choosing a text editor for PHP. One of the
most important parts of the whole process is going to be the environment where we 're writing
our PHP code. Any old text editor can be used for PHP, and the text editor that you already have
experience working with something like HTML or CSS or JavaScript. The best text editor for you
to use is going to be the one that you 're most comfortable with. All you need is a Notepad or
TextEdit. A lot of people will like to use more of a specialized text editor designed to support the
PHP language. And really, just with a quick Google search , you can find a bunch of different text
editors that are designed and support PHP. The first thing that we have to do when we're
working with PHP is we actually have to start something called a PHP server. In this tutorial, I 'm
going to show you guys how to get your first PHP file up and running. And we can use PHP on
that web server in order to interact with our websites.
The easiest way to get started is to just use this PHP hyphen capital S localhost 4000
commands. So you can just type in PHP and I 'm going to type a hyphen , a capital S. and a
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller mudassarabbas. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $11.29. You're not tied to anything after your purchase.