Skip to content

Instantly share code, notes, and snippets.

@convenient
Last active February 3, 2017 08:39
Show Gist options
  • Save convenient/117786e5fde3e7a67ed1 to your computer and use it in GitHub Desktop.
Save convenient/117786e5fde3e7a67ed1 to your computer and use it in GitHub Desktop.
PHPBREW Install php for Magento 1.x
phpbrew install 5.3.26 +default +dbs +apxs2
phpbrew ext install iconv
phpbrew ext install gd
phpbrew ext install xdebug 2.2.3
#nano /home/luker/.phpbrew/php/php-5.3.26/var/db/xdebug.ini
xdebug.remote_host = 127.0.0.1
xdebug.remote_enable = 1
xdebug.remote_port = 9000
xdebug.remote_handler = dbgp
xdebug.remote_mode = req
pdo_mysql.default_socket=/var/run/mysqld/mysqld.sock
phpbrew install 7.0.7 +default +dbs +apxs2 +gd +iconv +intl +mcrypt +soap
phpbrew --debug ext install gd -- --with-freetype-dir=/usr/include --with-gd=shared,/usr --enable-gd-native-ttf --with-gmp=shared,/usr --with-jpeg-dir=shared,/usr --with-xpm-dir=shared,/usr/X11R6 --with-png-dir=shared,/usr --with-freetype-dir=shared,/usr --with-vpx-dir=shared,/usr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment