FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to undefined function __() in
2017-06-21 17:21
806 查看
问题描述
打开http://IP/phpMyAdmin 出现错误,查看/var/log/nginx/error.log,发现2017/06/21 16:49:25 [error] 3729#3729: *107 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to undefined function __() in /usr/share/phpMyAdmin/libraries/core.lib.php on line 245" while reading response header from upstream, client: 192.168.10.171, server: localhost, request: "GET /phpMyAdmin/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.10.241"
解决方法
查看php-fpm的配置文件/etc/php-fpm.d/www.conf里面session.save_path的路径,发现是php_value[session.save_path] = /var/lib/php/session
更改这个目录权限
chmod -R 777 /var/lib/php/session
即可。
相关文章推荐
- nginx打开网站提示 500错误解决方案 ([error] 1824#100074: *6 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 13
- nginx error.log 提示 [error] 887#887: *58 FastCGI sent in stderr: "PHP message: PHP Warning: mysql_connect(): Headers and client library minor version mismatch. Headers:50556 Library:50637
- FastCGI sent in stderr: "Primary script unknown
- FastCGI sent in stderr: "Primary script unknown" while reading response head
- 安装prestashop提示"PHP message: PHP Fatal error: Call to a member function fetch() on boolean
- 关于FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream的一次解决过
- FastCGI sent in stderr: "Primary script unknown"
- nginx:*21 FastCGI sent in stderr: "Primary script unknown"
- magento 第四章 出现 "Fatal error:Call to a member function load() on a non-object in \Abstract.php" 问题
- Setup Was Unable to Create a DCOM User Account" Error Message in Visual Studio 6.0
- Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "E:\xampp\htdocs\lanyun-4.4.1\te
- Server Error in '/' Application. Access to the Path Is Denied" error message appears
- php使用ZipArchive提示Fatal error: Class ZipArchive not found in的解决方法
- FIX: Error message when you try to install a large Windows Installer package or a large Windows Installer patch package in Windows Server 2003 or in Windows XP: "Error 1718. File was rejected by digital signature policy"
- Error message when you try to modify or to delete an alternate access mapping in Windows SharePoint Services 3.0: "An update conflict has occurred, and you must re-try this action"
- PRB: "Requested Registry Access Is Not Allowed" Error Message When ASP.NET Application Tries to Write New EventSource in the Eve
- php使用ZipArchive提示Fatal error: Class ZipArchive not found in的解决方法
- Why is the "DEBUG: Error 2836" message generated in the DB2 V8, V9.1, or V9.5 installation log file on Windows system?
- Fatal error: Call to undefined function mysql_connect() in D:\phpwww\index.php
- fprintf(stderr, "error para in %s(), in file %s, line %d/n", __FUNCTION__, __FILE__, __LINE__);