原文:unexpected '[' in /usr/share/zabbix/index.php on line 32

今天安装zabbix在apache后端的日志里发现: Wed Jan : : error client . . . PHP Parse error: syntax error, unexpected in usr share zabbix index.php on line 这个错误是php版本低造成的 ...

2018-01-17 10:21 0 962 推荐指数:

查看详情

*2 FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected '[' in /application/nginx-1.6.3/html/zabbix/index.php on line 32

今天呢本想学习一下zabbix监控一下我的服务情况,然后就开始安装我的zabbix服务,首先LNMP环境准备好了,Nginx版本为1.6.3,php版本为5.3.27,MySQL版本为二进制包安装的5.5.49,一切准备就绪,到了网页安装的过程,输入地址就是不显示网页,然后看了我的Nginx的错误 ...

Sun Aug 12 04:08:00 CST 2018 0 1782
index.php

index是普遍意义上的“首页”,也就是你输入一个域名后会打开一个页面,基本上就是index.xxxx(基bai本上首页都不会把index.xxxx显示在url里,但也不绝对)后面的php是“Hypertext Preprocessor”,一个脚本语言,与asp、jsp一样是用来处理网站各种事 ...

Tue Feb 02 01:42:00 CST 2021 0 383
index.php代码

1.Margin & Padding   例1:   .div {   margin-top:10px;   margin-right: 5px;   margin-bottom:3 ...

Sat Aug 28 23:38:00 CST 2021 0 226
nginx省略index.php

文件nginx\conf\vhosts.conf location / { }加入 如: ...

Thu Apr 23 03:46:00 CST 2020 0 971
nginx 去掉index.php

首先 要开启 rewrite功能 然后 在 vhosts.conf 中 server 下添加: if (!-f $request_filename) {   rewrite (.*) /index.php;} 如此便ok!!! ...

Mon Jan 09 21:03:00 CST 2017 0 2430
Thinkphp --- 去掉index.php

这里我使用的面板是宝塔,操作的 apche: 具体的配置可以参考这里: 首先是:Thinkphp的配置:Common/Conf的配置: 接下来就是服务器上,对具体网站 ...

Tue Mar 13 01:55:00 CST 2018 0 1010
入口文件 index.php

一、 运行流程 The index.php serves as the front controller, initializing the base resources needed to run CodeIgniter. The Router examines the HTTP ...

Tue Dec 06 22:48:00 CST 2016 0 1650
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM