在配置安装Cacti,全部配置好打开安装界面突然报错:别急,PHP扩展没好,重新编译加上--enable-sockets这个就好了,如下:./configure --prefix=/usr/local/php \--with-mysql=/usr/local/mysql \--with-apxs2=/usr/local/apache/bin/apxs \--with-zlib \--with-libxml-dir=/usr/lib \--enable-sockets