aptitude install libxml2-dev libjpeg8-dev libcurl4-openssl-dev libpng-dev libfreetype6-dev libmcrypt-dev libmhash-dev libxslt-dev
mkdir -m 0755 /usr/local/php
git clone git://git.code.sf.net/p/phpfarm/code phpfarm
cd phpfarm/src
vim custom-options-5.2.17.sh
###
configoptions="
--enable-cli \
--with-pear \
--with-openssl=/usr \
--with-iconv \
--with-curl \
--with-mysql \
--with-mysqli \
--enable-mbstring \
--with-zlib \
--with-zlib-dir \
--with-gettext \
--with-mhash \
--enable-ftp \
--with-mcrypt \
--enable-bcmath \
--with-mime-magic \
--with-pdo-mysql \
--enable-sockets \
--enable-soap \
--enable-fastcgi \
--enable-force-cgi-redirect \
--with-xsl \
--with-gd \
--enable-gd-native-ttf \
--with-ttf \
--with-png-dir \
--with-jpeg-dir \
--with-freetype-dir \
"
#
# --with-gd \
# --with-gd=/usr/lib/php5/20090626 \
#--with-png-dir \
#--with-jpeg-dir \
# --enable-gd-native-ttf \
# --with-pspell \
# --enable-exif \
пятница, 18 ноября 2011 г.
Phpfarm custom.sh
Подписаться на:
Комментарии к сообщению (Atom)
Комментариев нет:
Отправить комментарий