admin 发表于 2014-2-27 19:30:45

多功能的PHP_5.3.19

A.主要功能
    數據庫: postgresql mysql mssql
    Apache, freetype ,GD libs,
   

B.cd /usr/src/
rm -r php*
tar -zxvf /lin_app/php-5.3*
cd php-5*

###--- PHP 5.3.19 ---###
./configure --prefix=/usr/local/php --enable-pdo=shared--with-curl=shared \
--enable-sockets=shared --enable-soap=shared --enable-xml=shared --with-xsl=shared --enable-zip=shared \
--enable-pcntl--with-mysql \
--enable-calendar --without-sqlite3 -without-pdo-sqlite --without-sqlite --with-apxs2=/usr/local/apache2/bin/apxs \
--with-libxml-dir=/usr/local/lib --with-zlib--enable-gd-native-ttf \
--with-freetype-dir --with-jpeg-dir \
--with-pgsql=/usr/local/pgsql --with-imap=/usr/src/imap-2007f\
--with-mssql=/usr/local/freetds--enable-ftp--enable-xml\
--with-gd --with-pcre-regex \
--with-freetype-dir=/usr/include/freetype2 \
--with-config-file-path=/ \
--with-iconv-dir=/usr/local/lib \
--with-png-dir=/usr/local/libpng --enable-mbstring--with-openssl=shared

make clean; make ZEND_EXTRA_LIBS='-liconv' ; make install;C.
页: [1]
查看完整版本: 多功能的PHP_5.3.19