Skip to content

Instantly share code, notes, and snippets.

@JulienBreux
Created January 16, 2013 09:27
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 JulienBreux/4545839 to your computer and use it in GitHub Desktop.
Save JulienBreux/4545839 to your computer and use it in GitHub Desktop.
## Configure
./configure \
--enable-cli \
--prefix=/opt/php53 \
--with-readline \
--with-mysql=mysqlnd \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
--with-pdo-sqlite \
--with-gd \
--enable-gd-native-ttf \
--with-freetype-dir \
--with-jpeg-dir \
--with-png-dir \
--with-zlib-dir \
--enable-gd-native-ttf \
--with-curl \
--enable-bcmath \
--enable-calendar \
--enable-mbstring \
--enable-mbregex \
--enable-exif \
--with-ldap \
--enable-pcntl \
--enable-soap \
--with-xsl \
--enable-zip \
--with-openssl \
--with-imap-ssl \
--enable-ftp \
--enable-exif \
--enable-sockets \
--with-config-file-path=/opt/php53/etc \
--with-iconv-dir=/opt/local \
--enable-fpm \
--with-fpm-user=www-data \
--with-fpm-group=www-data
## Build
make
## Test
make test
## Install
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment