Skip to content

Instantly share code, notes, and snippets.

@adamhunter
Created January 11, 2010 17:17
Show Gist options
  • Save adamhunter/274398 to your computer and use it in GitHub Desktop.
Save adamhunter/274398 to your computer and use it in GitHub Desktop.
# after installing all the deps in http://articles.serenity.de/compiling_php_with_oracle/ run (you may also have to patch iconv, instructions are also on that page).
./configure --prefix=/usr/local/php5 --with-iconv=/usr/local --with-apxs2=/usr/local/apache2/bin/apxs --enable-pdo --with-gd --with-zlib --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-libxml-dir=/usr/local --with-curl --with-mcrypt --with-pdo-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-mysql=/usr/local/mysql --with-mhash --with-libxml-dir=/usr/local --with-t1lib=/usr/local --with-xsl --with-freetype-dir=/usr/local --with-gettext --with-bz2=/usr --with-openssl=/usr --enable-bcmath --enable-calendar --enable-cgi --enable-exif --enable-ftp --enable-gd-native-ttf --enable-mbstring --enable-soap --enable-sqlite-utf8 --enable-cli --enable-wddx --enable-zip --with-xmlrpc --with-apxs2=/usr/sbin/apxs
export EXTRA_CFLAGS="-lresolv"
make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment