-
-
Save farhan4648gul/bc403cec7d94f03f477b9404ac959b80 to your computer and use it in GitHub Desktop.
phpbrew 5.5.32 xdebug installation
This file contains hidden or 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
#!/bin/bash | |
# | |
# We need to re-build the php version because we removed it when compressing the box. | |
# | |
# In a newer version . . . I can pre-build the xdebug module when building the box, but 'disable' it by default. | |
# This can also be done for other common modules. | |
source /etc/profile.d/phpbrew.sh | |
phpbrew use php-5.5.32 | |
apt-get install -y bison php5-dev libbz2-dev libicu-dev libfreetype6 libfreetype6-dev libjpeg-dev libmcrypt-dev libmemcached-dev libmysqlclient-dev libpng12-dev libreadline-dev libxml2-dev libxslt1-dev ccache pkg-config | |
phpbrew install 5.5.32 +default +fpm +mysql +fileinfo +gd +intl +mcrypt +mhash +openssl +pcre +session +soap +zlib -- --with-mysqli=/usr/bin/mysql_config --with-freetype-dir=/usr/include/freetype2 | |
phpbrew ext install xdebug stable | |
service php5.5.32-fpm restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment