File upload limit

Started by DangerD2, March 02, 2023, 09:10:38 AM

Previous topic - Next topic

DangerD2

Upload is limited to 128Mb

sh /scripts/php_big_file_upload 512 all
New Configuration:
---------------------
upload_max_filesize = 512M
post_max_size = 517M
memory_limit = 536M
max_input_time = 300
max_execution_time = 300
---------------------
Editing File: /opt/alt/php74/usr/php/php.ini
Editing File: /opt/alt/php-fpm56/usr/php/php.ini
Editing File: /opt/alt/php-fpm74/usr/php/php.ini
Editing File: /usr/local/php/php.ini


Editing File: /usr/local/cwp/php71/php.ini
Editing File: /usr/local/cwpsrv/conf/cwpsrv.conf
Redirecting to /bin/systemctl restart cwpsrv.service
Redirecting to /bin/systemctl restart cwpsrv-phpfpm.service

Editing File: /etc/nginx/nginx.conf
Redirecting to /bin/systemctl restart nginx.service

Editing File: /usr/local/apache/conf/httpd.conf
Redirecting to /bin/systemctl restart httpd.service


Trying to upload 129MB:

Request Entity Too Large
The requested resource does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit.


Where also limit can be?

Starburst

What PHP are you running?

via Selector PHP-FPM?

Biswashost

Check user end PHP.INI value. The user may be have own custom value. You need to increase that value to higher.
Biswas Host Ltd

www.biswashost.com

Domain, Hosting, Cloud Hosting, VPS, Dedicated Server,

Web Design, SSL, VPN, Professional Email & More

Starburst

Correct, but depending on what is being run, the php.ini is in different locations.

Which is why I was asking what version.