pacin php php-apcu php-gd php-intl php-ldap php-mcrypt php-tidy xdebug
wget -qO- https://raw.githubusercontent.com/CHH/phpenv/master/bin/phpenv-install.sh | sh
- Modifier votre bashrc ou zshrc comme indiqué
git clone git://github.com/php-build/php-build.git $HOME/.phpenv/plugins/php-build
phpenv rehash
git clone https://github.com/ngyuki/phpenv-composer.git $HOME/.phpenv/plugins/phpenv-composer
phpenv rehash
phpenv install 5.6.7
- ou avec des options de compilations
PHP_BUILD_CONFIGURE_OPTS="--enable-fileinfo --enable-hash --enable-json --with-bz2 --enable-ctype --with-iconv --with-gettext --with-mcrypt --with-gd --enable-calendar --enable-cli --enable-cgi --with-ldap --enable-intl --enable-pdo --with-snmp" phpenv install 5.6.7
phpenv global 5.6.7
composer --version