永久黄网站色视频免费直播,yy6080三理论日本中文,亚洲无码免费在线观看视频,欧美日韩精品一区二区在线播放

關(guān)于DZ不支持高版本eaccelerator問題的解決辦法

最近有用戶反應(yīng),在DZ中不支持高版本的eaccelerator,建議降級(jí)到低版本的 0.9.5.3
為方便使用,在這里列出降級(jí)的方法

wget -c http://bart.eaccelerator.net/source/0.9.5.3/eaccelerator-0.9.5.3.tar.bz2
tar jxvf eaccelerator-0.9.5.3.tar.bz2
cd  eaccelerator-0.9.5.3
./configure --enable-eaccelerator=shared --with-eaccelerator-shared-memory --with-php-config=/www/wdlinux/php/bin/php-config
make
make install

重起web服務(wù),如
service httpd restart
or
service nginxd restart

或直接使用自動(dòng)降級(jí)腳本,如下
wget http://www.fsowen.com/in_scripts/eaccelerator0953
sh eaccelerator0953

歡迎轉(zhuǎn)載,但請(qǐng)保留此信息
[我的Linux,讓Linux更易用] CentOS精簡(jiǎn)版,集成lamp,lnmp版,wdcp,wdcdn,wddns,一鍵安裝包,集群負(fù)載均衡LVS,智能DNS/CDN,性能優(yōu)化
本文連接:http://www.fsowen.com/old/node/360

/root$ wget

/root$ wget http://www.fsowen.com/in_scripts/eaccelerator0953
--2011-05-01 22:22:24--  http://www.fsowen.com/in_scripts/eaccelerator0953
Resolving www.fsowen.com... failed: Temporary failure in name resolution.
wget: unable to resolve host address `www.fsowen.com'

DNS問題

DNS問題

/root$ wget -c

/root$ wget -c http://bart.eaccelerator.net/source/0.9.5.3/eaccelerator-0.9.5.3.tar.bz2
--2011-05-01 22:20:09--  http://bart.eaccelerator.net/source/0.9.5.3/eaccelerator-0.9.5.3.tar.bz2
Resolving bart.eaccelerator.net... failed: Temporary failure in name resolution.
wget: unable to resolve host address `bart.eaccelerator.net'

實(shí)在不懂,求指導(dǎo)

方法2的
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
make: *** No rule to make target `/home/bart/development/eaccelerator/branches/0.9.5/eaccelerator.c', needed by `eaccelerator.lo'.  Stop.
make: *** No rule to make target `/home/bart/development/eaccelerator/branches/0.9.5/eaccelerator.c', needed by `eaccelerator.lo'.  Stop.
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]

方法1的
[root@MyVPS1099 eaccelerator-0.9.5.3]# ./configure --enable-eaccelerator=shared --with-eaccelerator-shared-memory --with-phpconfig=/www/wdlinux/php/bin/phpp-config
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

沒有安裝GCC編譯環(huán)境 yum install -y

沒有安裝GCC編譯環(huán)境
yum install -y gcc gcc-c++ make autoconf libtool-ltdl-devel

編譯的參數(shù)不正確,應(yīng)該為: ./configure

編譯的參數(shù)不正確,應(yīng)該為:

./configure --enable-eaccelerator=shared  --with-eaccelerator-shared-memory --with-php-config=/www/wdlinux/php/bin/php-config

加上了

加上了