|
6 years ago 1 |
$sudo apt-get install
apache2
$sudo apt-get install
mysql-server
$mysql --version
$sudo apt-get install
php7.2 libapache2-mod-php7.2
$sudo systemctl
restart apache2
$php -r
'echo "\n\nYour PHP installation is working fine.\n\n\n";'
It includes Apache 2, php 7.2, mysql you can also try to install xampp for linux(includes all this tools in one installation) here is the link: https://www.apachefriends.org/download.html , here is a tutorial to get it started https://www.wikihow.com/Install-XAMPP-on-Linux , sometimes phpMyAdmin doesn't start so you should go and try next commands on Terminal:
$sudo /opt/lampp/lampp start
$ sudo su root
# sudo service mysql stop
# sudo /opt/lampp/lampp restart
i didnt see a place to vote also what isincluded in lamp