歡迎您光臨本站 註冊首頁

cacti后,訪問顯示錯誤如下: extensions are missing: * sockets

←手機掃碼閱讀     火星人 @ 2014-03-03 , reply:0

cacti后,訪問顯示錯誤如下: extensions are missing: * sockets

net-snmp-5.2.1     
cacti-0.8.7d.tar.gz  
net-snmp-5.2.1.tar.gz  
php-5.2.6        
rrdtool-1.2.23.tar.gz

如上版本安裝cacti后,訪問顯示錯誤如下:
Error

The following PHP extensions are missing:

    * sockets

Please install those PHP extensions and retry
訪問 test.php
顯示php信息如下:
HP Version 5.2.6

System         Linux xx 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:32:14 EDT 2005 i686
Build Date         Mar 5 2009 20:51:38
Configure Command         './configure' '--prefix=/usr/local/suigq/testCac/php' '--with-apxs2=/usr/local/suigq/testCac/apache3/bin/apxs' '--with-gd' '--with-jpeg-dir' '--with-zlib' '--with-png' '--with-freetype-dir' '--with-mysql=/usr/local/mysql'
Server API         Apache 2.0 Handler
Virtual Directory Support         disabled
Configuration File (php.ini) Path         /usr/local/suigq/testCac/php/lib
Loaded Configuration File         (none)
PHP API         20041225
PHP Extension         20060613
Zend Extension         220060519
Debug Build         no
Thread Safety         disabled
Zend Memory Manager         enabled
IPv6 Support         enabled
Registered PHP Streams         php, file, data, http, ftp, compress.zlib
Registered Stream Socket Transports         tcp, udp, unix, udg
Registered Stream Filters         string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, zlib.*

怎麼辦,請大俠指點??????????????
《解決方案》

搞定了,原來編譯每加sockets
可英文界面不知道能否漢話
《解決方案》

回復 2# zuxi_sui


    你是怎麼弄的,不是把php又重裝了一遍吧,這個擴展庫怎麼往上加啊 ????
我也遇見這個問題了
《解決方案》

求解     同樣問題  本來php是好的

[火星人 ] cacti后,訪問顯示錯誤如下: extensions are missing: * sockets已經有452次圍觀

http://coctec.com/docs/service/show-post-323.html