All apps/PHPBrew

PHPBrew

phpbrew

Brew & manage PHP versions in pure PHP at HOME

Runs as phpbrew|macOS, Linux, Windows|phpbrew.github.io

Command form

ai-draft · 1 task · 6 fields

Build and install one PHP version with variants. Custom configure options after -- and the other phpbrew subcommands are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui phpbrew
Install a PHP versionExample values, fixed in this page — nothing here reaches a terminal
Basic
Subcommand
installalways added
PHP version*
string
Variants
+defaultstring
Parallel jobs
integer
TasksEach one presets the form for one job
Install with default variants
subcommandversionvariantsjobs
ParametersOnly these flags are editable in the form
Subcommand
install
PHP version
For example 8.3.0 or 5.6.
string · positional 0
Variants
Variant sets such as +default, +mysql, +sqlite. Run phpbrew variants to list them.
string · positional 1 · repeatable
+default+mysql+sqlite+cgi
Parallel jobs
integer
-j
Run tests after build
boolean
--test
Old release
Install from the archive of old releases.
boolean
--old
SourcesEvery flag above is checked against these
readme
$ phpbrew install 5.4.0 +default $ phpbrew install -j $(nproc) 5.4.0 +default $ phpbrew install --test 5.4.0 $ phpbrew install --old 5.2.13 $ phpbrew install 5.3.10 +mysql +sqlite +cgi $ phpbrew install 5.6
manualHEAD 2026-10-27

raw.githubusercontent.com

Before it fills your prompt, Otty checks the installed phpbrew against its version. A form that does not match your version is not offered.