PHP Web App Host on Ubuntu 24.04

Azure Application Servers

A ready to run host for PHP web applications, with the interpreter, a bundled database and an authenticating reverse proxy already wired together.

Base
Hardened build
minimal ports, security patches applied at build time
Access
Unique credentials
generated on first boot, readable only by root
Verified
Boots working
services pass a health gate before release
Support
24/7, 365 days
by email and live chat, 24 hour response SLA

Overview

PHP is one of the most widely deployed languages for web applications, and this image is a complete host for one rather than a bare interpreter. The interpreter and its process manager are installed and pinned to exact versions, a working application built on a leading PHP framework is already serving, a single node PostgreSQL database is bundled on the same machine, and an nginx reverse proxy sits in front as the single entry point. A background queue worker and a scheduler run as managed services, so timed work and deferred jobs work out of the box rather than needing to be set up. The application, the database cluster and the logs all live on a dedicated data volume, so deploying your own code is a copy and a service restart, and your application and its data stay separate from the operating system disk. Composer is installed too, so dependencies can be managed on the machine the application runs on.

Why the cloudimg image

cloudimg installs the interpreter, the reverse proxy and the database only from the Ubuntu archive, taking the components that Canonical security supports for the full support window, and re-verifies every package against the cryptographically signed archive index during the build. Every dependency the application pulls in is checked against its own lock file and the build refuses to continue on anything that is not permissively licensed. The application server and the database are bound to loopback so the reverse proxy is the only way in, and nothing starts until first boot has generated an encryption key, a database password and a login unique to that machine, so there is no default login in any window. The key that protects sessions and cookies is created per machine rather than baked into the image. Paired with a tested deployment guide and backed by 24/7 support.

Common uses

  • Hosting PHP web applications and APIs
  • Running a framework application with a bundled database
  • Deploying background queues and scheduled jobs

See it running

Real screenshots taken while testing this image against its deployment guide.

PHP Web App Host on Ubuntu 24.04 screenshot 1 PHP Web App Host on Ubuntu 24.04 screenshot 2 PHP Web App Host on Ubuntu 24.04 screenshot 3 PHP Web App Host on Ubuntu 24.04 screenshot 4