PHPBrew
The facts below are what the maker publishes about PHPBrew, checked and dated. Our editors have not written about it yet.
Plans and prices
From PHPBrew's own pricing page, checked 7 Oct 2026.
| Plan | Price | What it gives you |
|---|---|---|
| PHPBrew | Free | Free software under the MIT license |
The facts
Each one read from PHPBrew's own pages, with the date it was checked.
What it does
- Apache modules
- It can compile Apache PHP modules and keep them separate by PHP version.checked 7 Oct 2026
- Build requirements
- Users need development packages installed to build PHP.checked 7 Oct 2026
- Build variants
- It simplifies PHP configure options into variants and supports builds with options such as PDO, MySQL, SQLite, and debug.checked 7 Oct 2026
- Download
- The installation instructions offer a downloadable phpbrew.phar release and show how to place it in a directory on PATH.checked 7 Oct 2026
- Extensions
- It installs PHP extensions from PHP source or PECL and creates configuration files to enable installed extensions.checked 7 Oct 2026
- Integrations
- Its library lookup prefixes include Homebrew, MacPorts, Debian, Ubuntu, or a custom path.checked 7 Oct 2026
- Intended users
- The project describes use for building and managing multiple PHP versions locally, including without root permission when installing in a home directory.checked 7 Oct 2026
- 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.checked 7 Oct 2026
- PHP FPM
- It provides commands to start, stop, inspect, test, and edit PHP-FPM, provided the PHP build has the fpm variant enabled.checked 7 Oct 2026
- Purpose
- PHPBrew builds and installs multiple PHP versions in a user's home directory.checked 7 Oct 2026
- Shell support
- The setup instructions cover bash, zsh, and fish shell configuration.checked 7 Oct 2026
- System wide use
- PHPBrew can install multiple PHP versions into a system wide environment as well as a user's home directory.checked 7 Oct 2026
- Version switching
- It can temporarily use a PHP version or switch the default version, and integrates with bash and zsh.checked 7 Oct 2026
Alternatives to PHPBrew
- 1

DevPod
Free planOpen sourceLinuxmacOSSelf-hostedWindows7.4Free plan - 2
nvm
Free planOpen sourceLinuxmacOSSelf-hostedWindows7.4Free plan - 3

ActiveState Platform
Free planWebAPILinuxmacOS7.2Free plan - 4

Flox
Free planWebExtensionLinuxmacOS7.1From $20 a month - 5
GHCup
Free planWebLinuxmacOSSelf-hosted7.0Free plan - 6

devenv
Free planWebLinuxmacOSWindows6.9Free plan
