LAMP (Ubuntu 22.04)

LAMP (Ubuntu 22.04)

  • OS: ubuntu 22

Description

LAMP is a popular software stack used for web development that consists of Linux, Apache, MySQL, and PHP. Ubuntu 22.04 is a Linux-based operating system that is frequently used as the base for LAMP installations.

Software included

Package Version
Apache 2.4.52
PHP 8.1.13
certbot 1.21.0
postfix 3.6.4
MariaDB 10.10.2

Initial start of the service

To start working directly with the application, all you have to do is upload the content that you want to be served by Apache to the /var/www/html directory. Once you've done this, you can visit the IP address assigned to your virtual machine in your browser to view the content you've uploaded. Of course, you can also point a domain to the corresponding IP address without having to configure anything further.

Quick settings and frequently asked questions

  • Logging into the cloud service is done using an SSH key or password that you have specified.
  • By default, the document root where you should upload your applications is /var/www/html
  • You can find your MySQL root password at /root/.my.cnf
  • This application image is configured to work with PHP-FPM. Basic PHP settings are located in /etc/php/8.1/fpm/php.ini. When changing a setting, the PHP-FPM service must be restarted with the command systemctl restart php8.1-fpm. You can find additional information about PHP by running the php-i command. Information about installed PHP modules can be found with the php -m command.