Control Web Panel
WebPanel => Apache => Topic started by: seco on January 26, 2017, 03:00:20 PM
-
Hello
i just install cwp on centos 7 and im trying to upload a 7MB file using simple file manager
it gives me this error
413 Request Entity Too Large
nginx
i search google for that and found that have to set client_max_body_size to higher value and php max_post size
and upload_max_size and also
i set all this nothing worked ans still the same error
i even change the server from apache+nginx proxy to varnish and still shows the same error !!
how to solve this?
thanks in advance.
-
Hello
i just install cwp on centos 7 and im trying to upload a 7MB file using simple file manager
it gives me this error
413 Request Entity Too Large
nginx
i search google for that and found that have to set client_max_body_size to higher value and php max_post size
and upload_max_size and also
i set all this nothing worked ans still the same error
i even change the server from apache+nginx proxy to varnish and still shows the same error !!
how to solve this?
thanks in advance.
go edit nano /etc/php.ini
-
what value exactly in php you mean to modify
i already modify
post_max_size
and
upload_max_size
in php.ini
-
what value exactly in php you mean to modify
i already modify
post_max_size
and
upload_max_size
in php.ini
thatok, try service httpd restart and see if can upload.
-
i restart the whole server not just apache and still the cwp file manager not able to upload 7MB file !!
-
http://forum.centos-webpanel.com/mysql/413-request-entity-too-large-by-phpmyadmin/msg9632/#msg9632
-
i adjust client_max_body_size and restart the server and still the same
even i completely remove nginx and still the same error !!
but i tried something
i tried to upload a file by a normal php upload script from my website and it is very big it uploaded successfully
i think this error in the configuration of teh cwp file manager
-
you're doing it wrong follow the instructions carefully. if you're using centos 7 CWP