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.

  1. Log into the Client Portal and navigate to your service.
  2. Click the Apps tab on your service page.
  3. Find LAMP Stack under the Web & CMS category and click Install.
  4. 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:

  1. Update packages: apt update && apt upgrade
  2. Install Apache: apt install apache2 and systemctl enable --now apache2
  3. Install MySQL: apt install mysql-server, then secure it: mysql_secure_installation
  4. Install PHP: apt install php libapache2-mod-php php-mysql
  5. Restart Apache: systemctl restart apache2
  6. Test: create /var/www/html/info.php containing <?php phpinfo(); ?> and visit http://your-ip/info.php.

Security: Remove info.php after testing. MariaDB is a drop-in replacement for MySQL.

Was this guide helpful?

Thanks for your feedback!