Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

PHPBrew

github.com

  • Free plan
  • macOS
  • Linux
  • Self-hosted
7.0 Club score Visit github.com

PHPBrew

Free

Free plan

What the maker publishes

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

Checked against the maker's pages on 7 Oct 2026.