phpbrew builds and installs multiple version php(s) in your $HOME directory. Configure options are simplified into variants, no worries about the path anymore! Build php with different variants like PDO, MySQL, SQLite, debug, etc. Compile Apache php module and separate them by different versions. Build and install php(s) in your home directory, so you don't need root permission. Switch versions very easily and is integrated with bash/zsh shell. Automatic feature detection. Install & enable php extensions into current environment with ease. Install multiple php into a system-wide environment. Path detection optimization for HomeBrew and MacPorts. PHPBrew arranges configure options for you, you can simply specify variant name, and phpbrew will detect include paths and build options for configuring.
Features
- PHPBrew provides default variants and some virtual variants
- You may also build PHP with extra variants
- You can also install PHP extension with ease
- PHPBrew automatically switch into the PHP source directory and install the extension
- PHPBrew also creates extension config to enable the installed extension
- You may specify the EDITOR environment variable to your favorite editor