Skip to content

Instantly share code, notes, and snippets.

@josesayago
Created July 27, 2013 23:31
Show Gist options
  • Select an option

  • Save josesayago/6096711 to your computer and use it in GitHub Desktop.

Select an option

Save josesayago/6096711 to your computer and use it in GitHub Desktop.
MacOS X Mountain Lion 10.8.4 Apache 2.4.6 & PHP 5.5.1 compilation flags
/**
* Apache 2.4.6
* Compile using 64bit flags
*/
$: CFLAGS="-arch x86_64" CCFLAGS="-arch x86_64" ./configure --enable-mods-shared=all --with-mpm-prefork --enable-ssl --with-ssl=/usr/local --with-z=/usr/local --enable-dav --enable-cache --enable-proxy --enable-logio --enable-deflate
/**
* PHP 5.5.1
*/
$: ./configure --prefix=/usr/ --with-apxs2=/usr/sbin/apxs --enable-cli --with-config-file-path=/etc --with-libxml-dir=/usr --with-openssl=/usr --with-zlib=/usr --enable-bcmath --with-bz2=/usr --enable-calendar --with-curl=/usr --enable-exif --with-gd --enable-gd-native-ttf --with-icu-dir=/usr/local/ --with-iodbc=/usr --with-libedit=/usr --enable-mbstring --enable-mbregex --with-mysql=mysqlnd --with-pear --with-pdo-mysql=mysqlnd --with-mysql-sock=/usr/local/var/mysql/mysql.sock --with-readline=/usr --enable-shmop --with-snmp=/usr --enable-soap --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --with-tidy --enable-wddx --with-xmlrpc --with-iconv-dir=/usr/local/Cellar/libiconv/1.14/ --with-xsl=/usr --enable-zip --enable-intl --with-pcre-regex --with-freetype-dir=/usr/X11 --with-jpeg-dir=/usr --with-png-dir=/usr/X11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment