Last active
December 28, 2019 21:38
-
-
Save olavocneto/9079839 to your computer and use it in GitHub Desktop.
Como usar o phpbrew https://github.com/phpbrew/phpbrew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo phpbrew install 5.3.3 +default +dbs +intl +openssl +mcrypt +intl -- --with-curl | |
sudo phpbrew install 5.4.45 +default +dbs +apxs2 +intl +openssl +mcrypt -- --with-curl | |
sudo phpbrew install 5.5.38 +default+dbs+apxs2+intl+openssl+mcrypt+iconv+zip+zlib -- --with-curl --enable-opcache --enable-soap | |
sudo phpbrew install 5.6.36 +default+dbs+apxs2=/usr/bin/apxs2+intl+openssl+mcrypt+iconv+zip+zlib+gd -- --with-gd --with-curl --with-gettext --enable-opcache --enable-soap | |
sudo phpbrew install 7.0.13 +default+dbs+apxs2+intl+openssl+mcrypt+iconv+zip+zlib+fpm+gd -- --with-gd --with-curl --enable-soap --enable-fpm --enable-zip | |
sudo phpbrew install 7.1.10 +default+dbs+apxs2+intl+openssl+mcrypt+iconv+zip+zlib+fpm+gd -- --with-gd --with-curl --with-gettext --enable-soap --enable-fpm --enable-zip | |
sudo phpbrew install 7.2.12 +default+dbs+apxs2+intl+openssl+mcrypt+iconv+zip+zlib+fpm+gd -- --with-gd --with-curl --with-gettext --enable-soap --enable-fpm --enable-zip | |
sudo phpbrew install 7.3.6 +default+dbs+apxs2+intl+openssl+mcrypt+iconv+zip+zlib+fpm+gd+exif -- --with-gd --with-curl --with-gettext --enable-soap --enable-fpm --enable-zip | |
sudo phpbrew install 7.3.8 +default+mysql+apxs2+intl+openssl+mcrypt+iconv+zip+zlib+fpm+gd+exif -- --with-gd --with-curl --with-gettext --enable-soap --enable-fpm --enable-zip | |
sudo phpbrew install 7.4.1 +default +mysql +apxs2 +intl +openssl +iconv +zip +zlib +fpm +gd +exif -- --enable-gd --with-curl --with-gettext --enable-soap --enable-fpm --with-zip --with-libxml | |
phpbrew ext install github:php-memcached-dev/php-memcached -- --disable-memcached-sasl | |
phpbrew ext install mongodb | |
phpbrew ext install xdebug stable | |
phpbrew ext install xdebug beta | |
phpbrew ext install ast | |
phpbrew ext install exif stable | |
### Problemas | |
Problema: | |
Exception: Version 7.1.2 not found. | |
Solução: | |
phpbrew update | |
Problema: | |
cp: cannot create regular file '/home/user/.phpbrew/php/php-7.1.2/lib/php/extensions/no-debug-non-zts-20160303/#INST@7849#': Permission denied | |
make: ** [install-modules] Erro 1 | |
Solução: | |
sudo chown -R $(whoami):$(whoami) ~/.phpbrew/ | |
sudo apt install libzip-dev | |
sudo apt install libonig-dev | |
sudo apt install php-bz2 | |
php-fpm está rodando? | |
ps aux | grep php-fpm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment