CodeIgniter 4 Host on Ubuntu 24.04

Azure Application Servers

A ready to run host for CodeIgniter applications, with the PHP runtime, a 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

CodeIgniter is an open source PHP web framework known for its small footprint and its speed. This image is a complete host for CodeIgniter applications rather than a bare framework download. The PHP runtime and the framework are both installed at pinned versions, a real application is already serving through an authenticating reverse proxy, and a single node database runs alongside it on the same machine. The application tree, its writable directory and the database files all live on a dedicated data volume, so putting your own code on the machine is a composer install and a service reload, and your application and its data stay separate from the operating system disk. A database migration runs on first boot and the shipped landing page reads and writes that database on every request, so the whole stack is proven working the moment the machine comes up.

Why the cloudimg image

cloudimg ships the framework in production mode, so the debug toolbar and the full stack traces that the upstream default exposes to any visitor are never present. The framework encryption key, the database password and the administrator password are all generated uniquely on each machine's first boot and written to a file only root can read, so there is no default login and no shared encryption key in any window. The PHP process manager and the database are bound to loopback so the reverse proxy is the only way in, and neither the proxy nor PHP starts until first boot has finished, so the machine is never briefly open. Every licence and attribution file the framework and its dependencies require is verified present during the build. Paired with a tested deployment guide and backed by 24/7 support.

Common uses

  • Hosting CodeIgniter web applications
  • Running PHP APIs behind a reverse proxy
  • Developing and running a PHP application on one machine

See it running

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

CodeIgniter 4 Host on Ubuntu 24.04 screenshot 1 CodeIgniter 4 Host on Ubuntu 24.04 screenshot 2 CodeIgniter 4 Host on Ubuntu 24.04 screenshot 3 CodeIgniter 4 Host on Ubuntu 24.04 screenshot 4