- 积分
- 4
- 威望
-
- 金钱
-
- 注册时间
- 2018-9-27
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
我是lnmp1.5环境, php是7.1.18 安装zabbix提示缺少ldap扩展,按你们的标准方法下载lnmp1.5-full包进行安装扩展,到make install一步报如下错:
Warning! a PEAR user config file already exists from a previous PEAR installation at '/root/.pearrc'. You may probably want to remove it.
Wrote PEAR system config file at: /usr/local/etc/pear.conf
You may want to add: /usr/local/lib/php to your php.ini include_path
/usr/local/src/lnmp1.5-full/src/php-7.1.18/build/shtool install -c ext/phar/phar.phar /usr/local/bin
ln -s -f phar.phar /usr/local/bin/phar
Installing PDO headers: /usr/local/include/php/ext/pdo/
我忽略此报错直接重启php,报如下错:
Starting php-fpm [28-Sep-2018 20:21:07] NOTICE: PHP message: PHP Warning: PHP Startup: ldap: Unable to initialize module
Module compiled with module API=20100525
PHP compiled with module API=20160303
These options need to match
in Unknown on line 0
done
麻烦军哥和广大网友给看看! |
|