P1: Create CMS Blog with PHP and MySQL - What is PHP and How to Setup Local or Global Server (In Brief)

12 0 1.7k reads

IF CMS Basic V1 Tutorial Series (Part 1):

First basics things needed to know, in this Part we'll just talk about setting up Our Local Server or Getting a Server Online, Basics of PHP and Little MySQL, if you are already inside this, you can move on to next Parts of this Tutorial, that you can find on CODEmgks topic and Ghazi Khan's notes {if they are out hopefully}.

Lets start talking dirty {programming}, PHP is one of the most used Web Development Language over Decades and for sure with that long tiime developed so much that today it consists of almost everything that you want to make out with your Web needs. Infeeds and Facebook like websites are totally on PHP with their core programming {almost at the time when they started}.

First Step to take is setting up a server, few years ago PHP just comes with Apache but now supported by many platforms. You can buy server over internet for public websites and too can download free softwares to set up your localhost on your Computer. Its really necessary to know on what platform we are going to work, as this Part of tutorial is all about Information (excluding programming) {geeks can move on to next part}.

We are here using easyPHP DevServer 14.1 VC11, you can Download EasyPHP Web or Dev Server from its Official Site, or can choose among many freeware Server Softwares available on Internet (like WAMP, XAMPP). Try to get the latest versions. With PHP v5.5.x, try to have greater version {they are more stable if not beta}. MySQL v5.6.x same condition. If you download new Server Software, they for sure come with new Language Versions.

You can buy a service online and can connect it with your FTP Program {i know, i know everything}.

its, QUESTION TIME !!!!!!

1. How to install any Local Server on my Computer?

A: Its as easy as brushing. Softwares day by day becoming so easy for users and looking forward for users will and understanding. Believe me, nothing to understand any deeper. Just Install it like Simple Program and Run it (Open it), then try opening http://localhost  or your Local IP {search on infeeds for how to find IP of my Computer, you'll find something} in your internet browser.

If no error shown and opens a Colourful Server Page flagged with the softwares name you installed or just Blank Page without any message, that means Server is working and for Online Servers open your domain or IP provided by your Host. Then all Server setup done.


2. Do i have to install PHP and MySQL externally ?

A: No you don't have to if you like reading manuals and not downloaded any wrong software {it will be much better if you download those small software for beginning instead of IIS or some other heavy Oracle thing, we'll discuss them later}. Read what that softwares consists of, everything is provided on their websites.


3. Can i believe PHP for Speed and Security Purpose ?

A: Sure, you can but anyone will trust on your security only when you have right knowledge of PHP Secure Scripting. And believe me, you can make anything possible if you have knowledge {or your mind is not blocked :P}. But try not making a banking website with this tutorial !! Hahaha Enough..


Questions Done. Now, as i said above we'll talk on PHP and MySQL both.

Now, what is MySQL and how it works?, in simple mean its a Database for all of your data structures and contents {not the files} only text data. PHP works on any Database or it will be better if i say any SQL can be fetched through PHP {maybe same thing}. MySQL is one of most used options with PHP and we are here going to use it. MySQL works with many interface even your own but most famous are MySQL Workbench and phpMyAdmin. As we are usig easyPHP here, it comes with phpMyAdmin by default but it depends on you what you found more easy to use.

The above image is the one i really hate version of phpMyAdmin but still it works flawlessly. I think its enough for knowing about setting up a Local Server for a CMS.

So this session must be completed now, if you want to know any further, there are some helpful links to read more about PHP and MySQL History and Working {little deeper}.

Definition of Server

How Web Server Works?

What is PHP? a Quick Manual

General Information about PHP

MySQL differences from Standard SQL

and, i'm done with this part, see you in next Part of this tutorial.


Ghazi Khan /u/mgks

verified publisher79 feeds
No Threads
more feeds from /u/mgks