Zabbix配置Web頁面報錯" PHP time zone unknown Fail"
Zabbix配置Web頁面報錯" PHP time zone unknown Fail"
解決方法:
檢視php.ini配置檔案的設定
[root@localhost create]# vi /etc/httpd/conf.d/zabbix.conf
更改php.ini配置檔案的設定,去掉date.timezone的註釋,將時區改為Asia/Shanghai
解決方法:
檢視php.ini配置檔案的設定
[root@localhost create]# vi /etc/httpd/conf.d/zabbix.conf
- Alias /zabbix /usr/share/zabbix
-
- Options FollowSymLinks
- AllowOverride None
- Order allow,deny
- Allow from all
-
- php_value max_execution_time 300
- php_value memory_limit 128M
- php_value post_max_size 16M
- php_value upload_max_filesize 2M
- php_value max_input_time 300
- # php_value date.timezone Europe/Riga
[root@localhost create]# vi /etc/httpd/conf.d/zabbix.conf
重啟httpd服務
[root@localhost create]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName
[ OK ]
點選"Retry"重新進行檢查,順利透過檢查
- Options FollowSymLinks
- AllowOverride None
- Order allow,deny
- Allow from all
-
- php_value max_execution_time 300
- php_value memory_limit 128M
- php_value post_max_size 16M
- php_value upload_max_filesize 2M
- php_value max_input_time 300
- php_value date.timezone Asia/Shanghai
[root@localhost create]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName
[ OK ]
點選"Retry"重新進行檢查,順利透過檢查
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29734436/viewspace-2137844/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- `jsonb` 報錯 `invalid input syntax for type timestamp with time zone ““JSON
- java.sql.SQLException: The server time zone value ‘Öйú±ê׼ʱ¼ä‘ is unrecognized...報錯解決JavaSQLExceptionServerZed
- spring boot 啟動時報錯The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized orJDBC driverSpring BootServerZedJDBC
- Invalid time zone indicator ‘ ‘Indicator
- JDBC:The server time zone value '�й���ʱ��' is unrecognized or represents more than one time zone.JDBCServerZed
- oracle time_zone(zt)Oracle
- pbootcms模板報錯提示PHP Warning: Unknown: open_basedir restrictionbootPHPREST
- Getting NOW() in your preferred time zone
- 【PHP】XDebug+VS Code除錯PHP頁面PHP除錯
- 頁面報錯 No input file specified
- Oracle的時區問題Time ZoneOracle
- zabbix報錯fping failed:no outputAI
- Vuex中使用報錯unknown mutation typeVue
- FastCGI sent in stderr: "Primary script unknown" 報錯AST
- nginx 啟動報錯 unknown directive "server"NginxServer
- web頁面Web
- PMS API報錯403 client token authorization failAPIclientAI
- mysql執行報The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one tim......MySqlServerZed
- zabbix監控頁面自動截圖
- TIMESTAMP和TIMESTAMP WITH TIME ZONE之間的總結
- springboot 配置錯誤頁面及全域性異常Spring Boot
- zabbix-server is not running 報錯解決Server
- nginx and php and zabbixNginxPHP
- java.sql.SQLException: The server time zone value ‘???ú±ê×??±??‘ is unrecognized or represents moreJavaSQLExceptionServerZed
- 解決ERROR 1231 (42000): Variable 'time_zone' can'tError
- 【mysql】關於連線mysql資料庫時出現的時區錯誤time zoneMySql資料庫
- nginx解析php頁面NginxPHP
- apache配置zabbix下setup.php無法顯示ApachePHP
- web頁面測試Web
- PHP Web 端操作 Nginx 配置PHPWebNginx
- zabbix-server啟動報錯解決Server
- 20200126 - PHP 報錯PHP
- 引起SAP WebClient UI頁面出現超時(time out)錯誤的另一個原因WebclientUI
- webpack中css使用行內註釋報錯Unknown wordWebCSS
- [20241009]oracle timestamp with time zone資料型別的儲存.txtOracle資料型別
- 異常解決——The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than oneServerZed
- 解決問題:Variable 'time_zone' can't be set to the value of 'NULL'Null
- 小程式真機報錯errMsg: “hideLoading:fail:toast can‘t be found“ ?IDEAIAST
- <a-modal>開啟頁面報錯Ancestor with aria-hidden