Skip to content

Instantly share code, notes, and snippets.

@connorhu
Last active November 29, 2025 07:34
Show Gist options
  • Select an option

  • Save connorhu/a851d6518389d812e484f3c1eb18d1df to your computer and use it in GitHub Desktop.

Select an option

Save connorhu/a851d6518389d812e484f3c1eb18d1df to your computer and use it in GitHub Desktop.
phpbrew ext
# php w mysql
# default:
# bcmath, bz2, calendar, cli, ctype, dom, fileinfo, filter, ipc,
# json, mbregex, mbstring, mhash, pcntl, pcre, pdo, pear, phar, posix,
# readline, sockets, tokenizer, xml, curl, openssl, zip
phpbrew install php-{version} +default +dbs +intl +soap
phpbrew ext install gd
phpbrew ext install iconv -- --with-iconv=/usr/local/opt/libiconv
phpbrew ext install zlib
phpbrew ext install imagick
phpbrew ext install ssh2 latest -- --with-ssh2=/opt/local
phpbrew ext install xdebug
phpbrew ext install sqlite3
phpbrew ext install libsodium
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment