To create fast web applications for Apache, PHP, and a MySQL database, install WAMP or XAMPP server on your PC.
Use PHP Supported Web Host.
If PHP is already activated on the server then there is nothing more to do with PHP setup.
Just create a file with “.php” extension and put it in your web directory and run that file from the browser, then the server will automatically parse that file for you.
You do not have to compile anything or install additional tools.
PHP is free all most web hosts support PHP.
Do the installation process
PHP script runs on a web server running PHP. So you need the following programs installed on your computer before you start writing any PHP program.
- Install The Apache Web server
- Install The PHP engine
- Install The MySQL database server
For more information about installing PHP, please visit PHP’s official site php.net
We recommend you install AMP (Apache, MySQL, PHP) software stack to install PHP. Because it is available for all operating systems. You will find many types of AMPs in the market which are shown below:
- WAMP – For Windows
- LAMP – For Linux
- MAMP – For Mac
- SAMP – For Solaris
- FAMP – For FreeBSD
- XAMPP (Cross, Apache, MySQL, PHP, Perl) For cross platforms.