Skip to content

Instantly share code, notes, and snippets.

@noomz
Created June 29, 2015 07:42
Show Gist options
  • Save noomz/45ff76d8df55c7688bc5 to your computer and use it in GitHub Desktop.
Save noomz/45ff76d8df55c7688bc5 to your computer and use it in GitHub Desktop.
phpfarm options.sh for Ubuntu
diff --git a/src/options.sh b/src/options.sh
index a172526..698728c 100755
--- a/src/options.sh
+++ b/src/options.sh
@@ -16,6 +16,7 @@ vminor=$3
vpatch=$4
configoptions="\
+--with-libdir=/lib/x86_64-linux-gnu \
--disable-short-tags \
--with-layout=GNU \
--enable-bcmath \
@@ -30,6 +31,26 @@ configoptions="\
--enable-zip \
--with-zlib \
--with-gettext \
+--with-bz2 \
+--enable-ctype \
+--with-iconv \
+--with-libxml-dir=/usr \
+--with-openssl \
+--with-mysql=/usr \
+--with-mysqli=/usr/bin/mysql_config \
+--enable-pdo \
+--with-pdo-mysql=/usr \
+--with-curl \
+--enable-calendar \
+--with-gd \
+--with-jpeg-dir=/usr \
+--with-png-dir \
+--with-gettext=/usr \
+--enable-mbstring \
+--with-mcrypt=/usr \
+--with-mhash \
+--with-zlib \
+--enable-zip \
"
# --enable-sqlite-utf8 was removed starting with PHP 5.4.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment