LAMP is an open source software package consisting of Linux OS, Apache web server, MySQL database server and PHP programming language.
A MySQL – MariaDB branch is installed as the database server.
After installing the LAMP recipe on the VPS, you can access the command line to the server running your chosen OS, Apache, MySQL (MariaDB), and PHP.
Install the LAMP recipe on the server and connect via VNC/SSH. Check the installed version of the web server by running the command:
apachectl -v

Check if the database server is installed. Connect to it by running the command:
mysql -u root -p
When prompted, enter the password for root.

If the connection to the database server is successful, you will see the response “Welcome to the MariaDB monitor” on the command line.
Run the command
exit
to disconnect from the database server and switch to the VPS command line.
Check the version of the installed PHP from the command line. Run the command:
php -v

If all commands are executed successfully, then continue working with the VPS through the console, or install the ispmanager control panel for simplified server management.
Recipe Installation Log
/root/lamp.log
Configuration files
/etc/init/mysql.conf
/etc/php/7.0/apache2/php.ini
CentOS:
/etc/httpd/conf/httpd.conf
/etc/httpd/conf.d/php.conf
Ubuntu и Debian:
/etc/apache2/apache2.conf
/etc/apache2/mods-available/php.conf
