--with-pdo-sqlite=shared --with-png-dir=/usr --with-sqlite=shared \
--with-ttf --with-xmlrpc --with-zlib --with-zlib-dir=/usr
# make ZEND_EXTRA_LIBS='-liconv'
# make install
# cp php.ini-dist /etc/php.ini
# cd ..
#安装PHP memcache扩展。
# tar -zxf memcache-2.2.6.tgz
# cd memcache-2.2.6
# /usr/local/php/bin/phpize
# ./configure --with-php-config=/usr/local/php/bin/php-config \
--with-zlib-dir --enable-memcache
# make
# make install
# cd ..
#安装PHP的eaccelerator。
# tar -jxf eaccelerator-0.9.6.1.tar.bz2
# cd eaccelerator-0.9.6.1
# /usr/local/php/bin/phpize
# ./configure --enable-eaccelerator=shared \
--with-php-config=/usr/local/php/bin/php-config
# make
# make install
# mkdir -p /tmp/eaccelerator
# chmod 777 /tmp/eaccelerator
# echo "mkdir -p /tmp/eaccelerator" >> /etc/rc.local
# echo "chmod 777 /tmp/eaccelerator" >> /etc/rc.local
# cd ..
#安装ImageMagick图像处理软件。
# tar -zxf ImageMagick-6.6.5-8.tar.gz
# cd ImageMagick-6.6.5-8
# ./configure
# make
# make install
# cd ..
#安装ImageMagick的PHP扩展。
# tar -zxf imagick-3.0.0.tgz
# cd imagick-3.0.0
# /usr/local/php/bin/phpize
# ./configure --with-php-config=/usr/local/php/bin/php-config
# make
# make install
# ldconfig
# cd ..
#安装PHP扩展Suhosin用来增强php语言的安全性。
# tar -zxf suhosin-0.9.32.1.tar.gz
# cd suhosin-0.9.32.1
# /usr/local/php/bin/phpize
# ./configure --with-php-config=/usr/local/php/bin/php-config
# make
# make install
# cd ..
#用来支持被加密的PHP页面。
# tar -zxf ioncube_encoder_evaluation.tar.gz
# cd ioncube_encoder_evaluation
本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/jisuanjixue/article-39787-5.html
的确少了美国世界就和平一大半了
哈哈
三国演义都没看过吧
加表情什么鬼