Kartier Pohs

Friday, June 12, 2015

PHP Installation

To install PHP,first of all we should know that what are the basic requirement to run PHP on our system.
  1. A web server
  2.  PHP
  3. A database, such as MySQL 
php installation

All these requirements are available in a readymade package called LAMP,WAMP,XAMPP.

LAMP is an open source Web development platform that uses Linux as the operating system, Apache as the Web server, MySQL as the relational database management system and PHP as the object-oriented scripting language

             L                          A                          M                         P 
      (Linux)                  ( Apache)               (Mysql)                 (PHP)


WAMP Server is a Windows web development environment. It allows you to create web applications with Apache, PHP, and the MySQL database. It also comes with phpMyAdmin to easily manage your databases. WampServer is the only packaged solution that will allow you to reproduce your production server. Once WampServer is installed, you have the possibility to add as many Apache, MySQL and PHP releases as you want. Once WampServer is installed, you have the possibility to add as many Apache, MySQL, and PHP releases as you want. WampServer also has a tray icon to manage your server and its settings.

WampServer installs automatically all you need to start developing web applications and is very intuitive to use. You will be able to tune your server without even touching the setting files.

WampServer Installing:

  • Double click on the downloaded file and just follow the instructions. Everything is automatic. The WampServer package is delivered whith the latest releases of Apache, MySQL and PHP.
  • Once WampServer is installed, you can add other releases by downloading them on this website. They will then appear in the WampServer menu and you will be able to switch releases with a simple click.
  • Each release of Apache, MySQL and PHP has its own settings and its own files (datas for MySQL).
        W                         A                          M                         P 
   (Windows)            ( Apache)               (Mysql)                 (PHP)


XAMPP is a completely free, easy to install Apache distribution containing MySQL, PHP, and Perl. The XAMPP open source package has been set up to be incredibly easy to install and to use.
Many people know from their own experience that it's not easy to install an Apache web server and it gets harder if you want to add MySQL, PHP and Perl. The goal of XAMPP is to build an easy to install distribution for developers to get into the world of Apache. To make it convenient for developers, XAMPP is configured with all features turned on. In the case of commercial use please take a look at the product licenses, from the XAMPP point of view commercial use is also free. There are currently distributions for Windows, Linux, and Mac OS X. The most popular PHP dev package and completely free of charge.

  X                              A                  M                     P                    P
(Cross Plateform)    ( Apache)      (Mysql)         (PHP)             (Perl)


After installing any of these packages you will be able to run php on your system.

No comments:

Post a Comment

Copyright 2015 @ Yogesh Prasad