√ How to Install PHP in Windows and Linux?
√ How to Test PHP Installation?
As you are ready to learn PHP, It is recommended to Install proper software to your PC so, you can develop and test PHP locally. In this chapter, I will tell you how to setup your Windows or Linux PC to work with PHP.
INSTALL PHP IN WINDOWS
I recommend you to install Wamp, Zend or XAMPP server on your PC. These are a complete package of PHP, MySQL, and PHPMyAdmin. Installing this software are very easy and once you install you are ready to work with PHP with MySQL database.
You can open root folder at c:\wamp\www
INSTALL PHP IN LINUX
You can install LAMP server in Linux. LAMP means LINUX, APACHE, MYSQL and PHP.
Once you install host server on your PC, you are ready to work with PHP. You can open root folder at : /var/www/html