The following PHP extensions are missing:sockets
摘要:The following PHP extensions are missing:sockets
The following PHP extensions are missing:sockets
在配置装置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
别急,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