Skip to content

Instantly share code, notes, and snippets.

@jblotus
Created October 1, 2011 18:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jblotus/1256470 to your computer and use it in GitHub Desktop.
Save jblotus/1256470 to your computer and use it in GitHub Desktop.
PHP configure 5.3.8 script centos 5.6 32bit
# --enable-fpm #EXPERIMENTAL: Enable building of the fpm SAPI executable
# --enable-gd-native-ttf GD: Enable TrueType string function
# --enable-mbstring Enable multibyte string support
# --enable-sockets Enable sockets support
# --with-bz2[=DIR] Include BZip2 support
# --with-curl[=DIR] Include cURL support
# --with-gd[=DIR] Include GD support. DIR is the GD library base
# --with-mcrypt[=DIR] Include mcrypt support
# --with-mysql[=DIR] Include MySQL support. DIR is the MySQL base
# directory. If mysqlnd is passed as DIR,
# --with-mysqli[=FILE] Include MySQLi support. FILE is the path
# to mysql_config. If mysqlnd is passed as FILE,
# the MySQL native driver will be used [mysql_config]
# --with-openssl[=DIR] Include OpenSSL support (requires OpenSSL >= 0.9.6)
# --with-pear=DIR Install PEAR in DIR [PREFIX/lib/php]
# --with-pdo-mysql[=DIR] PDO: MySQL support. DIR is the MySQL base directory
# If mysqlnd is passed as DIR, the MySQL native
# --with-pcre-regex=DIR Include Perl Compatible Regular Expressions support.
# --with-xsl[=DIR] Include XSL support. DIR is the libxslt base
# install directory (libxslt >= 1.1.0 required)
# --with-zlib[=DIR] Include ZLIB support (requires zlib >= 1.0.9)
./configure \
--enable-fpm \
--enable-gd-native-ttf \
--enable-mbstring \
--enable-sockets \
--with-bz2 \
--with-curl \
--with-gd \
--with-mcrypt \
--with-mysql \
--with-mysqli \
--with-openssl \
--with-pdo-mysql \
--with-pear \
--with-pcre-regex \
--with-xsl \
--with-zlib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment