Skip to content

Instantly share code, notes, and snippets.

@kitsunet
Created July 16, 2014 00:08
Show Gist options
  • Save kitsunet/d8e05f84a46c86860cae to your computer and use it in GitHub Desktop.
Save kitsunet/d8e05f84a46c86860cae to your computer and use it in GitHub Desktop.
phpng configure Mac OSX homebrew
YACC=/usr/local/opt/bison27/bin/bison ./configure \
--prefix=/usr/local/opt/phpng \
--with-config-file-path=/usr/local/etc/phpng \
--enable-mbstring \
--enable-zip \
--enable-bcmath \
--enable-pcntl \
--enable-ftp \
--enable-exif \
--enable-calendar \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--enable-wddx \
--with-curl \
--with-iconv \
--with-gmp \
--with-gd \
--with-jpeg-dir=/usr/local/Cellar/gd/2.1.0_2 \
--with-png-dir=/usr/local/Cellar/gd/2.1.0_2 \
--with-freetype-dir=/usr/local/Cellar/freetype/2.5.3_1 \
--with-t1lib=/usr/local/Cellar/t1lib/5.1.2 \
--enable-gd-native-ttf \
--enable-gd-jis-conv \
--with-openssl \
--with-mysql=/usr/local/Cellar/mariadb/10.0.12 \
--with-pdo-mysql=/usr/local/Cellar/mariadb/10.0.12 \
--with-gettext=/usr/local/Cellar/gettext/0.18.3.2 \
--with-zlib=/usr/local/Cellar/zlib/1.2.8 \
--with-bz2 \
--with-mysqli=/usr/local/bin/mysql_config \
--with-mcrypt=/usr/local/Cellar/mcrypt/2.6.8
@kitsunet
Copy link
Author

OK, seems this gathers more interest than I expected. I will try to throw together a small blog post to illustrate the details of installation :)

@kitsunet
Copy link
Author

kitsunet commented Oct 1, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment