Production ready LAMP stack on Azure by cloudimg. Apache 2.4, MySQL 8.4 LTS, PHP 8.3 on Ubuntu 24.04 LTS. Per-VM unique MySQL credentials on first boot, cloudimg welcome page, hardened Apache headers. 24/7 expert support.
## LAMP Stack on Ubuntu 24.04 LTS by cloudimg
Enterprise grade LAMP stack virtual machine image, purpose built for Microsoft Azure and maintained by cloudimg. Apache, MySQL 8.4 LTS, and PHP 8.3 are pre installed, tuned, and validated against a real HTTP and SQL round trip on first boot.
Why Choose cloudimg?
* 24/7 Expert Support with guaranteed 24 hour response for all requests and one hour average for critical issues. Contact support@cloudimg.co.uk
* Production Ready from Launch Pre configured, security patched, and validated
* Azure Native Integration Built with Azure Linux Agent, cloud init, Gen2 Hyper V support
* Unique Per-VM Credentials MySQL root password and application database password generated on first boot, never shared across deployments
What's Included
* Apache 2.4 with ServerTokens Prod, ServerSignature Off, and index.php as default
* MySQL 8.4 Long Term Support from the official repo.mysql.com APT repository
* PHP 8.3 with mod_php and the mysqli, pdo_mysql, gd, mbstring, curl, xml, zip, intl, and opcache extensions
* Cloudimg sample PHP landing page that live-verifies MySQL connectivity
* Default application database cloudimg_app and app user cloudimg_app on MySQL
* lamp-firstboot.service that rotates credentials per VM on first boot
* Credentials written to /stage/scripts/lamp-credentials.log (mode 0600, root only)
* Azure Linux Agent (waagent) for cloud integration
* Gen2 Hyper V virtual machine support
LAMP Stack Components
Apache 2.4 is the industry standard web server and reverse proxy. MySQL 8.4 LTS is the current Long Term Support release, supported until April 2032. PHP 8.3 is the latest stable PHP release with improved performance, readonly classes, and typed class constants.
Use Cases
* WordPress, Drupal, Joomla, and other PHP content management systems
* Laravel, Symfony, and other PHP frameworks
* E-commerce platforms (WooCommerce, Magento, PrestaShop)
* Custom PHP web applications with MySQL storage
* Internal tools, dashboards, and administrative interfaces
* Development and staging environments mirroring production PHP stacks
Technical Specifications
* Web Server: Apache 2.4 with mod_php
* Database: MySQL 8.4 LTS Community Server (latest 8.4.x)
* Language: PHP 8.3 (latest 8.3.x)
* OS: Ubuntu 24.04 LTS (Noble Numbat)
* VM Generation: Hyper V Gen2 with UEFI boot
* Default User: azureuser (sudo enabled)
* HTTP Port: 80 (TCP), HTTPS Port: 443 (TCP)
* MySQL Port: 3306 (TCP, bound to localhost only for security)
* Webroot: /var/www/html
* Config: /etc/apache2/, /etc/mysql/, /etc/php/8.3/
Support
cloudimg provides 24/7/365 expert technical support. Guaranteed response within 24 hours, one hour average for critical issues. Contact support@cloudimg.co.uk.
Visit www.cloudimg.co.uk/guides/lamp-stack-on-ubuntu-24-04-azure for the user guide and www.cloudimg.co.uk/products for our catalogue.
Apache, MySQL, and PHP are trademarks of their respective owners. This image is provided by cloudimg. Additional charges apply for build, maintenance, and 24/7 support.