重新安裝php讓他支持mysqli,但是裝完重啟以后登入wdcp提示Zend Optimizer not installed,這個是什么情況?
下面是我重新安裝php的腳本:
cd /home
tar zxvf php-5.2.17.tar.gz
gzip -cd php-5.2.17-fpm-0.5.14.diff.gz | patch -fd php-5.2.17 -p1
cd php-5.2.17/
./configure --prefix=/www/wdlinux/php-5.2.17 --with-config-file-path=/www/wdlinux/etc --with-fpm-conf=/www/wdlinux/etc/php-fpm.conf --with-mysqli=/www/wdlinux/mysql/bin/mysql_config --with-mysql=/www/wdlinux/mysql --with-gd --with-iconv-dir --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --enable-xml --with-libxml-dir --enable-discard-path --enable-inline-optimization --with-curl --with-curlwrappers --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-openssl --with-mhash --with-mcrypt=/usr --enable-sockets --with-pdo-mysql=/www/wdlinux/mysql --enable-ftp
make
make install
歡迎轉(zhuǎn)載,但請保留此信息
[我的Linux,讓Linux更易用]
CentOS精簡版,集成lamp,lnmp版,
wdcp,
wdcdn,
wddns,
一鍵安裝包,集群負載均衡LVS,智能DNS/CDN,性能優(yōu)化
本文連接:
http://www.fsowen.com/old/node/946
安裝zend
安裝zend