Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/elixir/2.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
Centos 6-Plesk 11-MaxRequestLen-无法修改mod_fcgid_Centos_Plesk_Mod Fcgid - Fatal编程技术网

Centos 6-Plesk 11-MaxRequestLen-无法修改mod_fcgid

Centos 6-Plesk 11-MaxRequestLen-无法修改mod_fcgid,centos,plesk,mod-fcgid,Centos,Plesk,Mod Fcgid,我刚刚在Centos 6上安装了Plesk 11,无法上传大于17-18个月的文件 [警告][客户端]mod_fcgid:HTTP请求长度16777368(到目前为止) 超过MaxRequestLen(16777216) 我的php.ini设置如下: post_max_size = 150M file_uploads = On upload_max_filesize = 128M memory_limit = 256M 我试图在/etc/httpd/conf.d/fcgid.conf

我刚刚在Centos 6上安装了Plesk 11,无法上传大于17-18个月的文件

[警告][客户端]mod_fcgid:HTTP请求长度16777368(到目前为止) 超过MaxRequestLen(16777216)

我的php.ini设置如下:

post_max_size = 150M

file_uploads = On

upload_max_filesize = 128M

memory_limit = 256M
  • 我试图在
    /etc/httpd/conf.d/fcgid.conf
    加入

    FcgidMaxRequestLen 30000000

重启apache;我还是犯了同样的错误

以下是我尝试过的:

  • 我发现这个文件中也设置了FcgidMaxRequestLen /usr/local/psa/admin/conf/templates/default/domain/domain/virtualhost.php 已更改、保存,apache已重新启动。。同样的错误

  • 我试图用不同的大小设置FcgidMaxRequestLen,1GA,20个月等等,但仍然存在相同的错误

  • 我尝试更改http.conf并添加以下内容:

    MaxRequestLen 20000000


我正在为每一次更改重新启动apache。我一定缺少一些配置文件,但我不知道在哪里

好的,下面是解决方案:

要使用centos重新配置域,请执行以下操作:

/usr/local/psa/admin/sbin/httpdmng——重新配置域yourdomain.com

/sbin/service apache重启


/sbin/service psa重启

确定以下是解决方案:

要使用centos重新配置域,请执行以下操作:

/usr/local/psa/admin/sbin/httpdmng——重新配置域yourdomain.com

/sbin/service apache重启


/sbin/service psa restart

请将解决方案移动到下面的答案中,并将其标记为已接受。请将解决方案移动到下面的答案中,并将其标记为已接受。