Set up a full web server environment for dynamic sites.
Option 1: One-Click Installer (Recommended)
The fastest way to get LAMP running is through the built-in app installer in your client portal.
- Log into the Client Portal and navigate to your service.
- Click the Apps tab on your service page.
- Find LAMP Stack under the Web & CMS category and click Install.
- The installer runs automatically in the background and completes in about 8 minutes. You will receive a confirmation email with any relevant credentials once it is done.
Option 2: Manual Installation
If you prefer to install and configure each component yourself:
- Update packages:
apt update && apt upgrade - Install Apache:
apt install apache2andsystemctl enable --now apache2 - Install MySQL:
apt install mysql-server, then secure it:mysql_secure_installation - Install PHP:
apt install php libapache2-mod-php php-mysql - Restart Apache:
systemctl restart apache2 - Test: create
/var/www/html/info.phpcontaining<?php phpinfo(); ?>and visithttp://your-ip/info.php.
Security: Remove info.php after testing. MariaDB is a drop-in replacement for MySQL.