Skip to content

Instantly share code, notes, and snippets.

@loranger
Created April 7, 2015 07:25
Show Gist options
  • Save loranger/8a8fe35843688fc94da8 to your computer and use it in GitHub Desktop.
Save loranger/8a8fe35843688fc94da8 to your computer and use it in GitHub Desktop.
Brew install php-exts
$ brew install php56-xdebug php56-imagick php56-memcache php56-zmq php56-redis php56-mcrypt
==> Installing php56-xdebug from josegonzalez/homebrew-php
==> Downloading https://homebrew.bintray.com/bottles-php/php56-xdebug-2.3.2.yosemite.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/php56-xdebug-2.3.2.yosemite.bottle.tar.gz
==> Pouring php56-xdebug-2.3.2.yosemite.bottle.tar.gz
==> Caveats
To finish installing xdebug for PHP 5.6:
* /usr/local/etc/php/5.6/conf.d/ext-xdebug.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the xdebug module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the xdebug module.
* - If you see it, you have been successful!
==> Summary
๐Ÿบ /usr/local/Cellar/php56-xdebug/2.3.2: 5 files, 264K
==> Installing php56-imagick from josegonzalez/homebrew-php
==> Downloading https://homebrew.bintray.com/bottles-php/php56-imagick-3.1.2.yosemite.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/php56-imagick-3.1.2.yosemite.bottle.tar.gz
==> Pouring php56-imagick-3.1.2.yosemite.bottle.tar.gz
==> Caveats
To finish installing imagick for PHP 5.6:
* /usr/local/etc/php/5.6/conf.d/ext-imagick.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the imagick module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the imagick module.
* - If you see it, you have been successful!
==> Summary
๐Ÿบ /usr/local/Cellar/php56-imagick/3.1.2: 5 files, 380K
==> Installing php56-memcache from josegonzalez/homebrew-php
==> Downloading http://pecl.php.net/get/memcache-2.2.7.tgz
Already downloaded: /Library/Caches/Homebrew/php56-memcache-2.2.7.tgz
==> /usr/local/opt/php56/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php56-memcache/2.2.7 --with-php-config=/usr/local/opt/php56/bin/php-config
==> make
==> Caveats
To finish installing memcache for PHP 5.6:
* /usr/local/etc/php/5.6/conf.d/ext-memcache.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the memcache module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the memcache module.
* - If you see it, you have been successful!
==> Summary
๐Ÿบ /usr/local/Cellar/php56-memcache/2.2.7: 3 files, 64K, built in 12 seconds
==> Installing php56-zmq from josegonzalez/homebrew-php
==> Downloading https://github.com/mkoppanen/php-zmq/archive/1.1.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/php56-zmq-1.1.2.tar.gz
==> /usr/local/opt/php56/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php56-zmq/1.1.2 --with-php-config=/usr/local/opt/php56/bin/php-config
==> make
==> Caveats
To finish installing zmq for PHP 5.6:
* /usr/local/etc/php/5.6/conf.d/ext-zmq.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the zmq module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the zmq module.
* - If you see it, you have been successful!
==> Summary
๐Ÿบ /usr/local/Cellar/php56-zmq/1.1.2: 5 files, 88K, built in 14 seconds
==> Installing php56-redis from josegonzalez/homebrew-php
==> Installing php56-redis dependency: php56-igbinary
==> Downloading https://homebrew.bintray.com/bottles-php/php56-igbinary-1.2.1.yosemite.bottle.tar.gz
######################################################################## 100,0%
==> Pouring php56-igbinary-1.2.1.yosemite.bottle.tar.gz
==> Caveats
To finish installing igbinary for PHP 5.6:
* /usr/local/etc/php/5.6/conf.d/ext-igbinary.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the igbinary module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the igbinary module.
* - If you see it, you have been successful!
==> Summary
๐Ÿบ /usr/local/Cellar/php56-igbinary/1.2.1: 9 files, 80K
==> Installing php56-redis
==> Downloading https://homebrew.bintray.com/bottles-php/php56-redis-2.2.7.yosemite.bottle.tar.gz
######################################################################## 100,0%
==> Pouring php56-redis-2.2.7.yosemite.bottle.tar.gz
==> Caveats
To finish installing redis for PHP 5.6:
* /usr/local/etc/php/5.6/conf.d/ext-redis.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the redis module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the redis module.
* - If you see it, you have been successful!
==> Summary
๐Ÿบ /usr/local/Cellar/php56-redis/2.2.7: 4 files, 324K
==> Installing php56-mcrypt from josegonzalez/homebrew-php
==> Downloading https://www.php.net/get/php-5.6.7.tar.bz2/from/this/mirror
######################################################################## 100,0%
==> /usr/local/opt/php56/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php56-mcrypt/5.6.7 --with-php-config=/usr/local/opt/php56/bin/php-config --wi
==> make
==> Caveats
To finish installing mcrypt for PHP 5.6:
* /usr/local/etc/php/5.6/conf.d/ext-mcrypt.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the mcrypt module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the mcrypt module.
* - If you see it, you have been successful!
==> Summary
๐Ÿบ /usr/local/Cellar/php56-mcrypt/5.6.7: 3 files, 56K, built in 45 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment