php-installation-with-examples-

PHP Installation with Examples


To run PHP scripts on any machine (server, computer etc) we need to install Php on it.

In this Article you will learn about how to install PHP. You can download the application by visiting the official website of PHP according to your system and OS.

To install PHP, install the best AMP (Apache, MySQL, PHP). 
There are many options for different operating systems.
The most popular software packages are:
  • XAMPP (Cross Apache, MySQL, PHP, PERL) It is cross platform, apart from this it also provides FileZilla, Mercury Mail, etc.
  • WAMP (Window Apache, MySQL, PHP) for Window Operating Systems.
  • LAMP (Linux Apache, MySQL, PHP) for Linux Operating Systems.
  • MAMP (Mac Apache, MySQL, PHP) for MAC Operating Systems.
XAMPP is a most popular software package:
We can see How do I install XAMPP on Windows -
  • Simply go to Google and search download XAMPP for windows.

  • Click “Download XAMPP-Apache Friends “on it.
  • Now see the versions of XAMPP. Click latest version to download
  • according to your operating system (32 Bit or 64 Bit).
  • When file is download, we can see on download folder.
  • Now install XAMPP by double clicking on the downloaded file.
  • Click Next and installed.
  • Then click finish.
  • Go to start button on desktop then search “XAMPP” and Open on it.
  • We can see XAMPP control panel and click to start on Apache and MySQL.