LAMP includes four open-source components: the Linux operating system, the Apache HTTP Server, the MySQL relational database management system, and the PHP programming language. Our LAMP image also has the Nginx HTTP Server so that it’s suitable for projects requiring Nginx as well.
LAMP is a software stack that provides an environment suited for developing and hosting most dynamic web applications.
The LAMP image can be installed on Ubuntu, Debian, or CentOS: you can select your preferred Linux distribution.
Our LAMP image includes:
Apache 2
МySQL Server
Nginx
PHP
We will install the latest version of the software available in the repositories.
To deploy LAMP on your server:
When creating a new Hostman server or reinstalling an existing one, select Marketplace → LAMP.
Select a Linux distribution. By default, we suggest using Ubuntu 22.04.
Finish creating your server.
Your server will be deployed in a couple of minutes. For a quick check, you can go to http://your_server_ip to see that Apache is up and running.
You check the installed software versions by connecting to the server via SSH and running these commands:
# For Ubuntu and Debian:
apache2 -v
# For CentOS:
httpd -v
mysql
nginx -v
php -v