Skip to content

Instantly share code, notes, and snippets.

@abigwonderful
Created May 24, 2012 22:40
Show Gist options
  • Save abigwonderful/2784653 to your computer and use it in GitHub Desktop.
Save abigwonderful/2784653 to your computer and use it in GitHub Desktop.
php54 install --with-mssql
output from: brew install -V https://raw.github.com/josegonzalez/homebrew-php/master/Formula/php54.rb --with-mssql
######################################################################## 100.0%
==> Installing php54 dependency: freetds
==> Downloading http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-0.91.t
Already downloaded: /Library/Caches/Homebrew/freetds-0.91.tar.gz
==> ./configure --prefix=/usr/local/Cellar/freetds/0.91 --with-tdsver=7.1 --mand
==> make
==> make install
/usr/local/Cellar/freetds/0.91: 601 files, 11M, built in 32 seconds
==> Installing php54 dependency: gettext
==> Downloading http://ftpmirror.gnu.org/gettext/gettext-0.18.1.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/gettext-0.18.1.1.tar.gz
==> Downloading patches
######################################################################## 100.0%
######################################################################## 100.0%
==> Patching
patching file gettext-tools/configure
patching file gettext-tools/Makefile.in
==> ./configure --disable-debug --prefix=/usr/local/Cellar/gettext/0.18.1.1 --without-included-gette
==> make
==> make install
==> Caveats
This formula is keg-only, so it was not symlinked into /usr/local.
OS X provides the BSD gettext library and some software gets confused if both are in the library path.
Generally there are no consequences of this for you.
If you build your own software and it requires this formula, you'll need
to add its lib & include paths to your build variables:
LDFLAGS -L/usr/local/Cellar/gettext/0.18.1.1/lib
CPPFLAGS -I/usr/local/Cellar/gettext/0.18.1.1/include
==> Summary
/usr/local/Cellar/gettext/0.18.1.1: 366 files, 12M, built in 2.4 minutes
==> Installing php54 dependency: jpeg
==> Downloading http://www.ijg.org/files/jpegsrc.v8d.tar.gz
Already downloaded: /Library/Caches/Homebrew/jpeg-8d.tar.gz
==> ./configure --prefix=/usr/local/Cellar/jpeg/8d
==> make install
/usr/local/Cellar/jpeg/8d: 18 files, 1.3M, built in 17 seconds
==> Installing php54 dependency: libxml2
==> Downloading ftp://xmlsoft.org/libxml2/libxml2-2.7.8.tar.gz
Already downloaded: /Library/Caches/Homebrew/libxml2-2.7.8.tar.gz
==> ./configure --prefix=/usr/local/Cellar/libxml2/2.7.8
==> make
==> make install
==> Caveats
This formula is keg-only, so it was not symlinked into /usr/local.
Mac OS X already provides this program and installing another version in
parallel can cause all kinds of trouble.
Generally there are no consequences of this for you.
If you build your own software and it requires this formula, you'll need
to add its lib & include paths to your build variables:
LDFLAGS -L/usr/local/Cellar/libxml2/2.7.8/lib
CPPFLAGS -I/usr/local/Cellar/libxml2/2.7.8/include
==> Summary
/usr/local/Cellar/libxml2/2.7.8: 294 files, 11M, built in 39 seconds
==> Installing php54 dependency: mcrypt
==> Downloading http://sourceforge.net/projects/mcrypt/files/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz
Already downloaded: /Library/Caches/Homebrew/mcrypt-2.5.8.tar.gz
==> ./configure --disable-debug --prefix=/usr/local/Cellar/mcrypt/2.5.8 --mandir=/usr/local/Cellar/m
==> make install
/usr/local/Cellar/mcrypt/2.5.8: 10 files, 328K, built in 13 seconds
==> Installing php54
==> Downloading http://www.php.net/get/php-5.4.3.tar.bz2/from/this/mirror
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/php54/5.4.3 --disable-debug --with-config-file-path=/usr/
==> make
==> make install
==> /usr/local/Cellar/php54/5.4.3/bin/pear config-set php_ini /usr/local/etc/php/5.4/php.ini
==> Caveats
For 10.5 and Apache:
Apache needs to run in 32-bit mode. You can either force Apache to start
in 32-bit mode or you can thin the Apache executable.
To enable PHP in Apache add the following to httpd.conf and restart Apache:
LoadModule php5_module /usr/local/Cellar/php54/5.4.3/libexec/apache2/libphp5.so
The php.ini file can be found in:
/usr/local/etc/php/5.4/php.ini
If you have installed the formula with --with-fpm, to launch php-fpm on startup:
* If this is your first install:
mkdir -p ~/Library/LaunchAgents
cp /usr/local/Cellar/php54/5.4.3/org.php-fpm.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/org.php-fpm.plist
* If this is an upgrade and you already have the org.php-fpm.plist loaded:
launchctl unload -w ~/Library/LaunchAgents/org.php-fpm.plist
cp /usr/local/Cellar/php54/5.4.3/org.php-fpm.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/org.php-fpm.plist
You may also need to edit the plist to use the correct "UserName".
==> Summary
/usr/local/Cellar/php54/5.4.3: 462 files, 35M, built in 3.6 minutes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment