PHP Environment Setup
To install PHP, We have to installed AMP(Apache, MySQL and PHP) software. There are various AMP software available in the market.
- XAMPP (Cross-Platform, Apache, MySQL, PHP and Perl) for windows.
- WAMP (Windows, Apache, MySQL and PHP) for windows.
- LAMP (Linux, Apache, MySQL and PHP) for Linux.
- MAMP for Mac.
- SAMP for Solaris.
- FAMP for FreeBSD.
- Download AMP (Apache, MySQL and PHP)software.
- Install it inside “C” drive.
- Open directory “C:\xampp\htdocs”.
- Create your own folder “phpfolder” inside the directory.
- Now, write your php code inside the phpfolder and save it with “index.php”
- Now open browser and write: “http://localhost/phpfolder/”.
- Click here to download XAMPP Server ( for Windows )
- Click here to download WAMP Server ( for Windows)
- Click here to download LAMP Server ( for LAMP)
- Click here to download MAMP Server ( for MAMP)