Skip to content

Instantly share code, notes, and snippets.

@aizatto
Created March 28, 2012 01:33
Show Gist options
  • Save aizatto/2222717 to your computer and use it in GitHub Desktop.
Save aizatto/2222717 to your computer and use it in GitHub Desktop.
Configure PHP
/Users/aizat/.phpvm/v5.4.0/bin/phpize
./configure \
--with-php-config=/Users/aizat/.phpvm/v5.4.0/bin/php-config
./configure \
--prefix=/Users/aizat/.phpvm/v5.4.0/ \
--exec-prefix=/Users/aizat/.phpvm/v5.4.0/ \
--mandir=/Users/aizat/.phpvm/v5.4.0/share/man \
--infodir=/Users/aizat/.phpvm/v5.4.0/share/info \
--includedir=/Users/aizat/.phpvm/v5.4.0/include \
--sysconfdir=/Users/aizat/.phpvm/v5.4.0/etc \
--libdir=/Users/aizat/.phpvm/v5.4.0/lib \
--with-config-file-path=/Users/aizat/.phpvm/v5.4.0/etc \
--disable-all \
--enable-bcmath \
--enable-ctype \
--enable-dom \
--enable-fileinfo \
--enable-filter \
--enable-hash \
--enable-json \
--enable-libxml \
--enable-pdo \
--enable-phar \
--enable-session \
--enable-simplexml \
--enable-tokenizer \
--enable-xml \
--enable-xmlreader \
--enable-xmlwriter \
--with-bz2=/opt/local \
--with-curl=/opt/local \
--with-libxml-dir=/opt/local \
--with-mhash=/opt/local \
--with-pcre-regex=/opt/local \
--with-readline=/opt/local \
--with-sqlite3=/opt/local \
--with-zlib=/opt/local \
--without-pear \
--disable-cgi \
--disable-fpm \
--enable-cli \
--with-mysql=mysqlnd \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
--with-openssl=/opt/local \
--enable-mbstring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment