View Single Post
  #7  
Old 28th November 2012, 21:47
kurdak kurdak is offline
Junior Member
 
Join Date: Nov 2012
Posts: 19
Thanks: 6
Thanked 0 Times in 0 Posts
Default

In Debian Squeeze to configure on clear install:
Code:
./configure \
--prefix=/opt/php-5.2.17 \
--with-mysql --enable-cgi \
--with-zlib-dir \
--with-freetype-dir \
--enable-mbstring \
--with-libxml-dir=/usr \
--enable-soap \
--enable-calendar \
--with-zlib \
--with-gd \
--disable-rpath \
--enable-inline-optimization \
--with-bz2 \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-pcntl \
--enable-mbregex \
--enable-zip \
--with-pcre-regex \
--with-pdo-mysql \
--with-mysqli
Of course, we also need:

apt-get build-dep php5
apt-get install libfcgi-dev libfcgi0ldbl libjpeg62-dbg libmcrypt-dev libssl-dev

Last edited by kurdak; 29th November 2012 at 09:42.
Reply With Quote