zabbix安装成功后,访问页面,在check of pre-requisites通不过,不知道如何去修改以让其进入下一步?

2025-03-23 04:20:08
推荐回答(2个)
回答1:

这里是zabbix检查php对他的前端是否支持,你按教程把php参数设置好了,但你的php应该是部分模块没有开启,获取干脆没有安装这些模块,所有才无法通过
PHP databases support
PHP bcmath
PHP mbstring
PHP sockets
PHP gd JPEG support
PHP gd FreeType support
你或许应该尝试开启或安装这些模块
查看phpinfo()确定你是否有这些模块吧

回答2:

使用以下方式会减少错误出现。
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/php/lib --disable-cli --enable-shared --with-libxml-dir --with-gd --with-openssl --enable-mbstring --with-mysqli --with-mysql --enable-opcache --enable-mysqlnd --enable-zip --with-zlib-dir --with-pdo-mysql --with-jpeg-dir --with-freetype-dir --with-curl --without-pdo-sqlite --without-sqlite3 --enable-bcmath --enable-sockets --with-gettext