Bitnami provides a free all-in-one tool to install in Linux with Apache, MySQL and PHP, you are able to use this of development purpose for your applications. 


$ sudo wget https://downloadsapachefriends.global.ssl.fastly.net/7.4.11/xampp-linux-x64-7.4.11-0-installer.run

$ sudo chmod +x xampp-linux-x64-7.4.11-0-installer.run


Click on button  " Next >"



then click on "Next >"

The XAMPP will be installed to /opt/lampp directory by default, click on button "Next >"



Click on button "Next >"



Click on button  "Finish".

Apache, MySQL and ProFTPD services are running, you will see the screenshot below, 



Open your browser and open the URL: http://localhost/



If would like to open the PHPMyAdmin page open the URL: http://localhost/phpmyadmin/
for PHP Info: http://localhost/dashboard/phpinfo.php