تخطي إلى المحتوى الرئيسي
Microsoft
separator
https://catalogartifact.azureedge.net/publicartifacts/cloudimg1647283583153.codeigniter-5d1f50a3-9c38-4131-92b4-1f2b52045dfc/image3_logolarge.png

cloudimg CodeIgniter 4 Host on Ubuntu 24.04

بواسطة cloudimg

Need custom pricing or terms? Request a private offer directly from the seller - tailored for your organization.

Run CodeIgniter 4 apps on a hardened Ubuntu VM with PHP FPM, nginx and MariaDB included.

cloudimg CodeIgniter 4 Host on Ubuntu 24.04 LTS

A complete host for CodeIgniter 4 applications, not a bare framework download. PHP 8.3-FPM and CodeIgniter 4.7.4 are both pinned, a real application is already serving through nginx, and a single node MariaDB runs alongside it on the same machine.

Secure by default

PHP-FPM is bound to 127.0.0.1:9000 and MariaDB to 127.0.0.1:3306, so neither is reachable from the network. nginx on port 80 is the only public listener and it requires authentication on every path except an unauthenticated health probe for load balancers. Neither nginx nor PHP starts until first boot has generated this machine's own administrator password, database password and CodeIgniter encryption key, so there is no default login and no shared encryption key in any window. The framework runs in production mode, so the debug toolbar and full stack traces that the upstream default exposes to any visitor are never present.

Licensing and provenance

CodeIgniter is MIT licensed. The redistributed runtime tree is three packages, all permissive: codeigniter4/framework (MIT), laminas/laminas-escaper (BSD-3-Clause) and psr/log (MIT). The framework additionally vendors Kint (MIT), PSR Log (MIT) and Laminas Escaper (BSD-3-Clause), and every one of those licence files ships with the image. PHP, nginx and MariaDB all come from the Ubuntu 24.04 archive rather than a vendor repository, so they receive security updates through the normal Ubuntu channel.

What's Included

  • CodeIgniter 4.7.4, pinned exactly and verified against the framework's own version constant
  • PHP 8.3 with the intl, mbstring, mysqli, curl, xml and zip extensions, checksum verified at build time against the GPG signed package index
  • MariaDB 10.11, bound to loopback, with its data directory on the dedicated volume
  • nginx on port 80 as the sole public listener, authenticating every path
  • An administrator password, database password and CodeIgniter encryption key generated uniquely on the first boot of every machine
  • A working application with a real database migration that runs on first boot
  • A dedicated 20 GiB data volume at /srv/codeigniter for your application and its data
  • An unauthenticated /health endpoint for Azure Load Balancer health probes
  • 24/7 support by cloudimg

Getting Started

Deploy the image, then read the per machine credentials with `sudo cat /root/codeigniter-credentials.txt` and browse to the machine's address. Replace the shipped application with your own in /srv/codeigniter/app. The full deployment guide is at https://www.cloudimg.co.uk/guides/codeigniter-4-host-on-ubuntu-24-04-azure/

CodeIgniter is a trademark of the CodeIgniter Foundation. cloudimg is not affiliated with, endorsed by, or sponsored by the CodeIgniter Foundation.

لمحة سريعة

https://catalogartifact.azureedge.net/publicartifacts/cloudimg1647283583153.codeigniter-5d1f50a3-9c38-4131-92b4-1f2b52045dfc/image1_screenshot01.png
https://catalogartifact.azureedge.net/publicartifacts/cloudimg1647283583153.codeigniter-5d1f50a3-9c38-4131-92b4-1f2b52045dfc/image5_screenshot02.png
https://catalogartifact.azureedge.net/publicartifacts/cloudimg1647283583153.codeigniter-5d1f50a3-9c38-4131-92b4-1f2b52045dfc/image7_screenshot03.png
https://catalogartifact.azureedge.net/publicartifacts/cloudimg1647283583153.codeigniter-5d1f50a3-9c38-4131-92b4-1f2b52045dfc/image2_screenshot04.png
العربية (ليبيا)
أيقونة إلغاء الاشتراك في اختيارات خصوصيتك خيارات خصوصيتك
خصوصية صحة المستهلك خريطة الموقع اتصل بنا الخصوصية وملفات تعريف الارتباط شروط الاستخدام العلامات التجارية حول إعلاناتنا إدارة ملفات تعريف الارتباط