Skip to content
SPECIFICTION
Get listed

PHPBrew

github.com

Free plan macOSLinuxSelf-hosted

Spec sheet

Purpose
PHPBrew builds and installs multiple PHP versions in a user's home directory.Read 7 Oct 2026 · github.com
Intended users
The project describes use for building and managing multiple PHP versions locally, including without root permission when installing in a home directory.Read 7 Oct 2026 · github.com
Integrations
Its library lookup prefixes include Homebrew, MacPorts, Debian, Ubuntu, or a custom path.Read 7 Oct 2026 · phpbrew.github.io
Apache modules
It can compile Apache PHP modules and keep them separate by PHP version.Read 7 Oct 2026 · phpbrew.github.io
Build requirements
Users need development packages installed to build PHP.Read 7 Oct 2026 · phpbrew.github.io
Build variants
It simplifies PHP configure options into variants and supports builds with options such as PDO, MySQL, SQLite, and debug.Read 7 Oct 2026 · github.com
Download
The installation instructions offer a downloadable phpbrew.phar release and show how to place it in a directory on PATH.Read 7 Oct 2026 · phpbrew.github.io
Extensions
It installs PHP extensions from PHP source or PECL and creates configuration files to enable installed extensions.Read 7 Oct 2026 · phpbrew.github.io
Older PHP versions
The project says builds of PHP versions unsupported by PHP's official support may not succeed and related issues will not be fixed.Read 7 Oct 2026 · phpbrew.github.io
PHP FPM
It provides commands to start, stop, inspect, test, and edit PHP-FPM, provided the PHP build has the fpm variant enabled.Read 7 Oct 2026 · github.com
Shell support
The setup instructions cover bash, zsh, and fish shell configuration.Read 7 Oct 2026 · github.com
System wide use
PHPBrew can install multiple PHP versions into a system wide environment as well as a user's home directory.Read 7 Oct 2026 · github.com
Version switching
It can temporarily use a PHP version or switch the default version, and integrates with bash and zsh.Read 7 Oct 2026 · github.com

Plans and prices

PHPBrew Free Free software under the MIT license Read 7 Oct 2026 · github.com

Every PHPBrew plan and price →

Where Specifiction places it

Alternatives to PHPBrewAll alternatives →