LAMP hosting
LAMP combines Linux, Apache, MySQL and PHP to host web applications. Prepare a VPS for your website, business application or PHP development environment.
Deploy LAMP on a VPSLAMP · No licence surcharge for this edition.
What can you do with LAMP?
Administer MySQL databases
Configure multiple Apache sites
Choose your VPS resources
The same Cap Connect VPS plans, configured to suit your application.
| Plan | vCPU | RAM | SSD storage | Network / outbound traffic | Monthly price | Order |
|---|---|---|---|---|---|---|
| VPS S | 4 Core | 8 GB | 100 GB SSD | 200 Mbit/s (32 TB Out) | Price 199dhs/ month | Configure VPS S |
| VPS M | 6 Core | 12 GB | 200 GB SSD | 300 Mbit/s (32 TB Out) | Price 360dhs/ month | Configure VPS M |
| VPS L | 8 Core | 24 GB | 300 GB SSD | 600 Mbit/s (32 TB Out) | Price 590dhs/ month | Configure VPS L |
| VPS XL | 12 Core | 48 GB | 400 GB SSD | 800 Mbit/s (32 TB Out) | Price 990dhs/ month | Configure VPS XL |
Which VPS for LAMP?
VPS S (4 vCPU, 8 GB RAM) comfortably hosts a few PHP sites and their MySQL database. Choose VPS M if you combine several sites with steady traffic.
OPTIONAL ADD-ONAutomatic backupView monthly prices
Prices in dhs per month, in addition to the server price. Select this option when ordering.
- VPS S
- 160.80 dhs / month
- VPS M
- 160.80 dhs / month
- VPS L
- 240.00 dhs / month
- VPS XL
- 321.60 dhs / month
Select the application or licence at checkout. Orders are accepted manually. Learn more
Install LAMP step by step
Check PHP versions and extensions required by your application. Prepare virtual hosts, file permissions, HTTPS and database backups.
- Choose the LAMP image (Ubuntu 22.04) at checkout.
- Check the Apache, PHP and MySQL versions provided by the image.
- Create one Apache virtual host per site and a database with its own user.
- Secure MySQL, enable HTTPS with a certificate and close unused ports.
- Set up backups of files and databases.
Build your project with LAMP
A foundation for PHP projects
An internal portal, catalogue or booking application can use a LAMP architecture. Apache handles web requests, PHP runs application logic and MySQL stores data. Your project still needs development or installation: having the stack does not mean a finished application is included.
Match the stack to your code
Check required PHP versions and extensions before launch. Use separate database credentials for each project, review error logs and test data recovery. A small website and an application making many SQL queries have different resource requirements.
LAMP on a VPS or cPanel web hosting
cPanel web hosting is managed for you and is enough for most websites. A LAMP VPS gives you root access, a choice of versions and custom Apache or PHP settings, with server administration on top.
Questions about LAMP
Does LAMP include a control panel?
No. LAMP is a software stack. A panel such as cPanel, Plesk or DirectAdmin needs a separate installation and licence.
Is the VPS preconfigured and backed up?
Options are specified at checkout and automatic backup is optional. See the answers common to VPS applications