PHP Warning: Module ‘ldap’ already loaded in Unknown on line 0

今天在freebsd8.2下ports方式安装完cacti后,执行命令:

[root@www.service-labs.com /]#php /usr/local/share/cacti/poller.php

提示以下错误:

PHP Warning:  Module ‘ldap’ already loaded in Unknown on line 0

检查vi /usr/local/etc/php/extensions.ini文件,原来是该文件里多了一行extension=ldap.so 将其重复项删除即可!

上一篇: