Skip to content

Instantly share code, notes, and snippets.

@autaut03
Created November 24, 2019 18:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save autaut03/848ca8e70eca4a4e33c3701b4f7b20f4 to your computer and use it in GitHub Desktop.
Save autaut03/848ca8e70eca4a4e33c3701b4f7b20f4 to your computer and use it in GitHub Desktop.
PHPBrew PHP 7.3 with extensions (incl. xdebug, pthreads, fpm) and ZTS
phpbrew install --mirror=https://www.php.net 7.3.12 +default +mysql +mb +debug +fpm +openssl=/usr/local/opt/openssl +bz2=/usr/local/opt/bzip2 +zlib=/usr/local/opt/zlib -- --enable-maintainer-zts
phpbrew ext install github:krakjoe/pthreads master
@ttodua
Copy link

ttodua commented Apr 24, 2021

this was for me for php8:

phpbrew --debug install 8.0 +default +zts +mysql +sqlite +mb +debug +fpm +intl +openssl=/usr/local/opt/openssl +bz2=/usr/local/opt/bzip2 +zlib=/usr/local/opt/zlib +apxs2=/usr/bin/apxs2 (for php7 , in the end, add: -- --enable-maintainer-zts)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment