简体   繁体   English

PhpMyAdmin错误500 PHP-GETTEXT

[英]PhpMyAdmin Error 500 PHP-GETTEXT

I updated my server today and actually when i'm going to mywebsite.com/ phpmyadmin / => I got an error 500 我今天更新了服务器,实际上我要去mywebsite.com/ phpmyadmin / =>时出现错误500

Error.log: error.log中:

PHP Warning:  require_once(): open_basedir restriction in effect. File(/usr/share/php/php-php-gettext/gettext.inc) is not within the allowed path(s): (/usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-php-gettext/:/usr/share/javascript/:/usr/share/php/tcpdf/:/usr/share/doc/phpmyadmin/:/usr/share/php/phpseclib/) in /usr/share/phpmyadmin/libraries/common.inc.php on line 77

PHP Warning:  require_once(/usr/share/php/php-php-gettext/gettext.inc): failed to open stream: Operation not permitted in /usr/share/phpmyadmin/libraries/common.inc.php on line 77

PHP Fatal error:  require_once(): Failed opening required '/usr/share/php/php-php-gettext/gettext.inc' (include_path='.') in /usr/share/phpmyadmin/libraries/common.inc.php on line 77

My apache.conf: 我的apache.conf:

http://pastebin.com/YZRXGmas http://pastebin.com/YZRXGmas

My php.ini: 我的php.ini:

http://pastebin.com/Mt8uE0P9 http://pastebin.com/Mt8uE0P9

My /usr/share/php: 我的/ usr / share / php:

drwxr-xr-x   2 root root  4096 févr.  1 00:29 php-gettext
drwxr-xr-x   2 root root  4096 févr.  1 00:16 php-php-gettext

In /usr/share/php/php-gettext: 在/ usr / share / php / php-gettext中:

lrwxrwxrwx  1 root root   30 janv. 29 16:13 gettext.inc -> ../php-php-gettext/gettext.inc
lrwxrwxrwx  1 root root   30 janv. 29 16:13 gettext.php -> ../php-php-gettext/gettext.php
lrwxrwxrwx  1 root root   30 janv. 29 16:13 streams.php -> ../php-php-gettext/streams.php

In /usr/share/php/php-php-gettext: 在/ usr / share / php / php-php-gettext中:

lrwxrwxrwx  1 root root   30 janv. 29 16:13 gettext.inc -> ../php-php-gettext/gettext.inc
lrwxrwxrwx  1 root root   30 janv. 29 16:13 gettext.php -> ../php-php-gettext/gettext.php
lrwxrwxrwx  1 root root   11 févr.  1 00:16 php-gettext -> php-gettext
lrwxrwxrwx  1 root root   30 janv. 29 16:13 streams.php -> ../php-php-gettext/streams.php

My PHP-GetText's version: 我的PHP-GetText版本:

php-mbstring is already the newest version (1:7.0+49).
php-gettext is already the newest version (1.0.12-0.1).
php7.0-mbstring is already the newest version (7.0.15-1).

I tested a lot of things but nothing work for my server :\\ Someone can help me please? 我测试了很多东西,但是对我的服务器没有任何作用:\\有人可以帮我吗?

Sincerely, 此致

将/ usr / share / php / php-php-gettext添加到/etc/apache2/conf-enabled/phpmyadmin.conf中的open_basedir设置中

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 致命错误:在第177行的C:\\ apache \\ htdocs \\ phpmyadmin \\ libraries \\ php-gettext \\ gettext.inc中调用未定义的函数mb_detect_encoding() - Fatal error: Call to undefined function mb_detect_encoding() in C:\apache\htdocs\phpmyadmin\libraries\php-gettext\gettext.inc on line 177 致命错误:在第177行上的C:\\ Users \\ Jarek \\ mywebsite \\ phpMyAdmin \\ libraries \\ php-gettext \\ gettext.inc中调用未定义函数mb_detect_encoding() - Fatal error: Call to undefined function mb_detect_encoding() in C:\Users\Jarek\mywebsite\phpMyAdmin\libraries\php-gettext\gettext.inc on line 177 php-gettext已安装但不可用 - php-gettext installed but not available php-gettext如何更好地使用它 - php-gettext How to use it better 如何维护使用php-gettext的系统? - How to maintain a system that uses php-gettext? php-gettext无效 - php-gettext isn't working php-gettext在生产服务器中不起作用。 (Ubuntu) - php-gettext don't work in production server. (Ubuntu) 如何使ngettext()使用php-gettext库工作? - How to make ngettext() works using the php-gettext library? 当单复数形式相同时,如何使用 php-gettext 的 ngettext() ? - How can I use ngettext() of php-gettext when the singular and plural form are the same? 在ngnix上获取HTTP 500错误以访问phpMyAdmin的php - Getting HTTP 500 error accessing php for phpMyAdmin on ngnix
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM