PHP-base
PHP-base is a pre-configured Docker base image for running PHP web applications.
Platform availability
Available on 0 of 10 platforms
- Unraid (not listed)
- TrueNAS (not listed)
- Umbrel (not listed)
- ZimaOS (not listed)
- Proxmox (not listed)
- Helm (not listed)
- Mac (not listed)
- Windows (not listed)
- Linux (not listed)
- Any server (not listed)
Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.
82/100 Excellent
- Maintained
- 100last commit 4 days ago
- Popular
- 9241,791 GitHub stars
- Easy to install
- 250 install platforms, install notes, Docker image
- Light to run
- 95512 MB minimum RAM, runs on ARM
- GitHub stars
- 41,791
- Open issues
- 2349
- Last commit
- 2026-11-17
- Latest release
- php-8.5.12
- License
- BSD-3-Clause
- Activity
- rising
Checked 4 days ago - source: GitHub (php/php-src)
Resources & Compatibility
Minimum requirements: 512 MB RAM, 200 MB disk. ARM (e.g. Raspberry Pi) is supported.
Checked 54 days ago - source: Docker Hub image tags and published docs
First-install notes
- Set PHP options per website safely If a site needs its own PHP settings, add a [HOST=your-domain] block in php.ini. It only applies when the web server uses CGI/FastCGI (how it hands PHP requests to PHP) and cannot load extensions, so keep extension settings in the main config or required extensions may not load. source
Fetched 41 days ago - each note links to its source
Variants
Alternatives (11)
- ASP.NET - ASP.NET is a framework for building and running modern, internet-connected web apps, IoT apps, and mobile backends.
- Crystal (programming language) - Programming language with Ruby-like syntax that compiles to efficient native code.
- D (Programming Language) - D is a language with C-like syntax and static typing.
- Java - Java is a general-purpose computer programming language that is concurrent, class-based, object-oriented, and specifically designed to have…
- Lua - Lua is a powerful, fast, lightweight, embeddable scripting language.
- Perl - Perl is a high-level, general-purpose, interpreted, dynamic programming language used for system administration, web development, network p…
- Python - This container needs special attention.
- elixir - Elixir is a programming language for developers who build scalable, fault-tolerant web applications and backend services, especially for co…
- haskell - Haskell is a specialized language used to build highly reliable and secure software.
- haxe - Haxe is an open-source programming language and cross-compiler that lets developers build cross-platform applications for web, mobile, and…
- ruby - Ruby is an interpreted, object-oriented programming language commonly used for building websites and web applications, as well as for scrip…
Checked 40 days ago - source: AlternativeTo
Common questions
Do I need to compile PHP from source to run php-base?
No, prebuilt packages and binaries can be used to get running quickly. Windows binaries are ready to use after extracting the archive, while other systems should follow PHP's installation guidance.
How should I update php-base when PHP releases security fixes?
Upgrade to the latest PHP security release for your branch when the PHP team announces one. The announcement states that all users of the affected branch are encouraged to upgrade.
How can I verify a PHP source build before installing it?
Run make test after successful compilation. Tests run in parallel by default, and you can limit concurrency with TEST_PHP_ARGS=-jN or run sequentially with -j1.
What security documentation should I review before exposing php-base publicly?
The PHP manual's Security section covers general considerations, sessions, filesystems, databases, error reporting, and user-submitted data. It also includes guidance for CGI or Apache installations and hiding PHP.
Answers sourced from github.com, www.php.net, www.php.net
Community
- Why are most self hosting apps written in PHP? : r/selfhosted - Reddit (reddit)
- Free Self-Hosted Knowledge Base Systems? : r/selfhosted - Reddit (reddit)
- PHP-based self-hosted reddit clone? : r/selfhosted (reddit)
- r/selfhosted on Reddit: Are there PHP-based SSO / OAuth / SAML / CAS ... (reddit)
- Any self-hosted php-based task management system? - Reddit (reddit)
Collected 48 days ago - public community threads