How to create PHP environment

Before we move ahead we remember you one thing that is in previous chapter it was mentioned that learning PHP is no more expensive. It is open source server side scripting language and available at no coast.

Warning! Please do not install without any assistant if you are not familiar with PHP installation and configuration. Please read this chapter completely at the end we put the best solution for you.

There are three main areas where you can use PHP

1. Websites and web applications (server-side scripting)
2. Command line scripting
3. Desktop (GUI) applications

For now we will go through Websites and web applications (server-side scripting). PHP is most flexible scripting language ever built which support all servers these days like IIS Apache etc. Like mentioned in previous chapter it runs on various platforms like Windows, Linux, Unix, Mac OS X, etc.

PHP Configuration and Installation

With below mentioned step you can set up PHP on your PC

1. Install a web server like Apache
2. Install PHP like version 5.5 or 5.6 (Latest 7.0)
3. Install a Database like MySQL.

PHP different version requires different version Visual C Runtime. Before we install please look at the below table

PHP Version Visual C Run Time Version Download Link
PHP 5.5 C Run Time Ver. 11
PHP 5.6 C Run Time Ver. 11
PHP 7.0 C Run Time Ver. 14

Below are link where you can download the above there software.

Program Version Download Link
PHP for Windows 5.6 to 7.2
Apache Web server  2.4.29
MySQL 5.7.20

Best Alternatives

Above software might lead you to do something wrong on your PC and the web server settings can produce some upsetting result. For best alternative here we can go through the web hosting or PHP ready package which can be easily set up and executed.

Web hosting

Signing up a PHP web hosting is great choice. Most popular companies like godaddy, bluehost, hostgator are providing the web host with domains where you can code and publish online and your work can be seen whole world 24X7. But this is little expensive.

Local hosting with XAMPP

XAMPP is very powerful ready to use package for PHP developers. In simple step you can download, install and activate the server and database with couple of click and you can start scripting. You can download XAMPP by click on the link

PHP Tutorials - Create PHP Environment (Basics)



Hello friends! Progrramers is a tutorial site of w3 programming. If you like this tutorial site please encourages us by sharing this site links with your friends and nears & dears who want to learn web development and give us like on our Facebook page. If have any question please type in to comment box or send us message on social media sites via below given social links. Thank you, have a nice learning.

Post A Comment:


  1. This internet web page has given me loads to maintain in thoughts and what I wanted for years!! What a first rate answer!!
    best web design companies

  2. Their timeliness, organization, and responsiveness justified the investment and made them a valuable partner. best app design company

  3. Hello, this is fastidious post I actually loved reading this.
    professional web design agencies

  4. It’s my first time to visit this site & I’m really surprised to see such impressive stuff out there.
    design consultancy San Francisco

  5. This short article posted only at the web site is truly good. UX design agencies