Learn PHP - Lesson 1 Tutorial - How to get started with PHP - Part 3, Choose your web server to use
Bookmark and Share

Learn PHP - Lesson 1 Tutorial - How to get started with PHP - Part 3 of 4, Chose your web server setup for coding php web sites.

There are basics one must know when getting started with PHP. In this lesson, we will cover the following:

1) At a minimum you need a high level understanding of what makes up that which we call the internet
2) Understand the basics of what constitutes a web server (at least as far as we're concerned to get your coding)
3) The two easiest ways for you to start creating php web applications.
4) Learn how to create a php page.  

Now that you understand how the internet works and what it takes to make up a web server and host content there, now we need to make a choice. You can:
a) Create your own web server,
b) rent one

A) Create your own web server -
If you'd like to create one, the great thing is that you can use your computer.  You don't need a super beefy computer.  Even if you have an old computer lying around collecting dust... network it up, you can use that as a web server.

We're going to create an WAMP or LAMP server, depending on your flavor of operating system you are comfortable with.
W/L - Windows or Linux
A - Apache HTTP web server
M - MySQL database software

I'm not interested in re-creating the wheel so I'll outline what you need to do in order to make a web server and some links out in the internet:

- First, find a computer and install your choice of operating system: instructions for windows xp here | instruction for ubuntu linux here

- Second, install Apache http server by following the instructions on the Apache HTTP server web site

- Third, install mysql database server by following the instructions on the MySQL database server web site

- Forth, install php by following the instruction on the PHP.net web site

B) Rent a web server -
There are different levels of renting a web server: shared web hosting, dedicated web hosting, virtually dedicated web hosting, and so on and so forth. 

The cheapest and most adequate solution for learning PHP will be for you to select a shared web hosting package.

Choose a domain name you'd like to use - example: www.myDomainName.com - and select a web server hosting package at one of the following links:
- www.godaddy.com
- www.verio.com
- www.startlogic.com
Recent Comments