原文: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