Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/337.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
警告:phpmyadmin最大输入变量错误_Php_Mysql_Apache_Phpmyadmin - Fatal编程技术网

警告:phpmyadmin最大输入变量错误

警告:phpmyadmin最大输入变量错误,php,mysql,apache,phpmyadmin,Php,Mysql,Apache,Phpmyadmin,phpMyAdmin=>NOW正如Remi所建议的——正如我在评论中所说的——我已经设置了=> php_admin_value[max_input_vars] = 10000 正如雷米在他的博客中指出的那样 我在上面的更改之后添加 SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1 到etc/httpd/conf.d/php.conf文件 请参阅文章的底部,其中fkooman指出,应该在博客文章中显示的命令中添加$1,而

phpMyAdmin=>NOW正如Remi所建议的——正如我在评论中所说的——我已经设置了=>

 php_admin_value[max_input_vars] = 10000
正如雷米在他的博客中指出的那样

我在上面的更改之后添加

 SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
到etc/httpd/conf.d/php.conf文件

请参阅文章的底部,其中fkooman指出,应该在博客文章中显示的命令中添加$1,而不添加它

但是,服务器使用UNIX套接字方法(而不是TCP配置)调用主www conf中的php fpm以及httpd.conf和ssl.conf文件中的每个虚拟主机,如下所示。第一个超时600是针对Apache的,而ProxySet Timeout-3600是针对php fpm的,至少它看起来是这样工作的

 Timeout 600
 # Proxy declaration
 <Proxy "unix:/var/run/php-fpm/xxxxxxx.com.sock|fcgi://php-fpm">
     # we must declare a parameter in here (doesn't matter which) or it'll not register the proxy ahead of time
     ProxySet connectiontimeout=5 timeout=3600
     ProxySet disablereuse=off
 </Proxy>
 # Redirect to the proxy
 <FilesMatch \.php$>
     SetHandler "proxy:unix:/run/php-fpm/xxxxxxx.com.sock|fcgi://localhost"
 </FilesMatch>
这部分是因为服务器使用了http2和mpm-event.so,部分是因为Apache版本2.4.28之后的Codeit不再支持带有pre-fork的http2,它将超时,因为如果调用php-fpm的方式没有正确放置命令,php-fpm对超时非常敏感

尤其是

到目前为止,我还没有看到这个错误,我转到了phpMyAdmin导出页面选项卡,它通常出现在那里


多亏了Remi,我认为丢失的HTTP\U授权才清除了它。

我无法复制,php\u admin\u值[max\u input\u vars]=54321 on pool configuration适合我。我在etc/httpd/conf.d/php.conf文件中添加了=>SetEnvIfNoCase^Authorization$。+HTTP_Authorization=$1,错误似乎消失了,因为这是我在您的博客上的设置中唯一缺少的东西,但我确实更改了php_admin_值[max_input_vars]=10000以匹配php.ini
 Timeout 600
 # Proxy declaration
 <Proxy "unix:/var/run/php-fpm/xxxxxxx.com.sock|fcgi://php-fpm">
     # we must declare a parameter in here (doesn't matter which) or it'll not register the proxy ahead of time
     ProxySet connectiontimeout=5 timeout=3600
     ProxySet disablereuse=off
 </Proxy>
 # Redirect to the proxy
 <FilesMatch \.php$>
     SetHandler "proxy:unix:/run/php-fpm/xxxxxxx.com.sock|fcgi://localhost"
 </FilesMatch>