编译zabbix3.0安装报错index.php 29 line error

Parse error: syntax error, unexpected ‘[‘ in /usr/local/httpd/htdocs/zabbix/index.php on line 29
解决步骤:重新编译5.4以上的php,再次重新编译zabbix,重新复制zabbix的web页面就行了
时间: 2024-08-26 22:59:49

编译zabbix3.0安装报错index.php 29 line error的相关文章

php5.6编译yaf3.0.6报错,版本问题

php5.6编译yaf3.0.6 phpize 没问题 ./configure --with-php-config=/usr/local/php5.6/bin/php-config 没问题 make 出现错误 [[email protected] yaf-yaf-3.0.6]# make /bin/sh /usr/local/src/yaf-yaf-3.0.6/libtool --mode=compile cc -I. -I/usr/local/src/yaf-yaf-3.0.6 -DPHP_A

PHP编译安装报错: mcrypt.h not found. Please reinstall libmcrypt.

PHP编译安装报错: mcrypt.h not found. Please reinstall libmcrypt. 转载2016-04-25 12:40:44 标签:linuxitphp 解决方法: 1.为系统安装perl-Geo-IP,默认yum源中没有这个包,特意安装epel第三方yum源[[email protected] ~] rpm -Uvh http://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rp

编译mcrypt时,报错:You need at least libmhash 0.8.15

执行 ./configure  编译源码,报错如下: checking whether mhash >= 0.8.15... noconfigure: error: "You need at least libmhash 0.8.15 to compile this program. http://mhash.sf.net/" 奇怪,libmhash安装的是 mhash-0.9.9.9.tar.gz ,怎么会报这样的错误呢,难道是没找到? [plain] view plain c

Scrapy安装报错 Microsoft Visual C++ 14.0 is required 解决办法

Scrapy安装报错 Microsoft Visual C++ 14.0 is required 解决办法原因:Scrapy需要的组 twisted 需要 C++环境编译. 方法一:根据错误提示去对应的网站下载C++ 14.0  ,然后重新安装 方法二:直接下载对应系统的whl 安装 1.win10,python_3.6.1,64位2.pip install Scrapy报错3.http://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted 下载twiste

RedHat5.5_X64 Linux安装oracle 11.2.0.3 报错

REDHAT linux 安装 11G  11.2.0.3   报错 oracle用户执行./runinstaller后 直接报错 查看日志后 [[email protected] OraInstall2012-06-29_12-08-50AM]# more installActions2012-06-29_12-08-50AM.log  SEVERE: [FATAL] HXZG: HXZG. Refer associated stacktrace #oracle.install.commons

php5.6.11编译安装报错configure: error: Don't know how to define struct flock on this system

centos 6.8 32位系统下,安装php.5.6.11是出现这个错误 解决办法: 1 2 3 4 vim /etc/ld.so.conf.d/local.conf     # 编辑库文件 /usr/local/lib                       # 添加该行 :wq                                  # 保存退出 ldconfig -v                          # 使之生效 注意事项: 这里添加的库文件路径一定要和你

被困扰了一个下午,求大神解答。VC6.0能编译通过,VS2013报错错误。

是一个与链表相关的代码,输入学生总人数及,每个学生的姓名成绩,并将输入的内容显示出来..VC6.0能编译通过,VS2013报错error C4703: 使用了可能未初始化的本地指针变量“p1”代码如下:#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<stdlib.h>typedef struct student{char name[15];int mark;struct student *next;}Node,*no

Cobbler安装报错--dhcpd -t failed Exception occured: &lt;class &#39;cobbler.cexceptions.CX&#39;&gt;

最近想玩一下自动化安装,就研究了一下cobbler,测试环境本来是想用CentOS6.X的,但是后来一想,还是想用CentOS7.X.然后就碰到坑了. 在同步cobbler配置的时候,发现了以下错误: cobbler  sync dhcpd -t failedException occured: <class 'cobbler.cexceptions.CX'>Exception value: 'cobbler trigger failed: cobbler.modules.sync_post_

Cygwin编译自定义OpenCV库报错:opencv_contrib: LOCAL_SRC_FILES points to a missing file

今天受命帮师弟调个OpenCV4Android 识别银行卡的程序,版本为OpenCV4Android2.4.9,使用方式为前文介绍的第一种方式,即通过jni调用opencv.如杂家前文所述,配套的NDK应使用较高版本的android-ndk-r9d.它的安装很简单,解压缩后设置环境变量到Path就ok:D:\ProgramFile\android-ndk-r9d; 但遗憾的是,同样的程序同样的配置在一台PC上通过Cygwin编译一切ok.但在新的一台电脑上却出现如下错误: Android NDK