Back

LAMP VPS Hosting, Pre-Installed

A LAMP VPS gives you Apache, PHP and MariaDB on Ubuntu 24.04, ready for your PHP site without the setup work. After you order, the stack installs itself, a certificate is requested, and the site address plus database login and password appear in your panel. Upload your files to /var/www/html and you're off, with root access and every server setting in your hands.

How big is your site?

Total$2.58/mo

Prices include VAT.

Scale RAM and CPU up or down whenever you like. Disk can only grow, so start small.

What's installed on your LAMP server?

  • Apache 2.4 from Ubuntu 24.04 packages, with the PHP module
  • PHP 8.3 with the mysql, mbstring, xml, curl, zip, gd, intl and bcmath extensions
  • MariaDB 10.11 with a database and user both called site, closed to the outside
  • Let's Encrypt through Certbot: the site opens over HTTPS on an sslip.io address, and the certificate renews itself
  • The rewrite and headers modules switched on, with working .htaccess files
  • fail2ban and automatic Ubuntu security updates
  • Firewall with only ports 22, 80 and 443 open

What size do you need for LAMP?

There's no official RAM figure for a LAMP stack, because the site you put on it decides what it needs. As a rule of thumb, 1 GB is a start for one small PHP site. Look at 2 GB for several sites or a content management system, and 4 GB for applications that lean heavily on the database. If it isn't enough, you can grow RAM, CPU and disk separately from your panel, and your data and IP address stay the same.

UseSizePriceChoose
New site 1 GB RAM · 1 vCore · 25 GB NVMe $2.58/mo
Growing site 2 GB RAM · 1 vCore · 40 GB NVMe $4.01/mo
Busy site 4 GB RAM · 2 vCore · 60 GB NVMe $6.89/mo

Who is it for?

  • Developers uploading their own PHP site or custom software
  • Sites that depend on .htaccess files and are moving off shared hosting
  • Anyone who wants a ready stack while keeping control of the Apache settings
  • People learning Apache, PHP and MariaDB or building a test environment
  • PHP sites with visitors in Turkey that should run on a server in Istanbul

What happens after you order?

  1. Set the size and complete your payment.
  2. Your server starts and the stack installs itself. This took about 3 minutes in our real-server tests.
  3. In your panel, open your server from My servers. Open the Site address row on the Overview tab. The Your server is ready page shows that PHP is working.
  4. Upload your files to /var/www/html over SFTP, using the root user and password shown in the panel. You can delete the welcome page, index.php.
  5. Connect over SSH and run chown -R www-data:www-data /var/www/html to give the files the right owner.
  6. Connect your site to the database through localhost, using the Login and Password rows in the panel.

With every server

  • Daily backups included in the price
  • Unlimited traffic
  • Full root access
  • Scale RAM and CPU up or down later, and grow the disk
  • Location: Istanbul · IST-1.

Good to know

  • The Login and Password rows in the panel belong to the database user called site. For SSH and SFTP, use the Username and Password rows further down.
  • The PHP upload limit is 64 MB and the memory limit is 256 MB. To change them, edit /etc/php/8.3/apache2/conf.d/99-seturack.ini and run systemctl restart apache2.
  • Ubuntu security updates install by themselves. PHP version upgrades and your site's code are your responsibility.
  • The install doesn't set up a mail server. If your site sends email, use an email service over SMTP.
  • If a certificate can't be issued, the site opens over http on your IP address. Once your domain is connected, you can try again with certbot --apache.

LAMP questions and answers

What is a LAMP stack?

LAMP stands for Linux, Apache, MariaDB or MySQL, and PHP, the set of software many websites run on. PHP applications such as WordPress and Joomla work on it. This server has Ubuntu 24.04, Apache 2.4, MariaDB 10.11 and PHP 8.3 installed.

How much RAM does a LAMP server need?

There's no official RAM figure for LAMP. As a rule of thumb, 1 GB is a start for one small PHP site, and 2 GB for several sites or a content management system. If it isn't enough, you scale up from your panel.

How do I upload a site to a LAMP server?

Upload your files to /var/www/html over SFTP, then run chown -R www-data:www-data /var/www/html to set the owner. The index.php already there is only a welcome page, so you can delete it. Apache reads .htaccess files on this server.

How do I connect to the database on a LAMP server?

From your site, use localhost as the host and site as both the database name and the username. The password is in your panel's Password row. To create a new database, connect over SSH and type mariadb. phpMyAdmin isn't installed, but you can add it yourself.

Should I choose LAMP or LEMP?

If your site relies on .htaccess files or is coming from shared hosting, LAMP is the easier move. Choose LEMP if you'd rather write redirect rules in the server configuration or want to use Nginx. Both run PHP and MariaDB.

How do I connect a domain to a LAMP server?

Point the A record at your server's IP address. Over SSH, run certbot --apache -d yourdomain.com, and the certificate is issued and renews itself. For several sites, add a new virtual host under /etc/apache2/sites-available.

Read more and see similar apps