Author Topic: File upload limit  (Read 1509 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
File upload limit
« on: March 02, 2023, 09:10:38 AM »
Upload is limited to 128Mb

Code: [Select]
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:

Code: [Select]
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?

Offline
*****
Re: File upload limit
« Reply #1 on: March 02, 2023, 03:56:53 PM »
What PHP are you running?

via Selector PHP-FPM?

Offline
*
Re: File upload limit
« Reply #2 on: March 03, 2023, 10:18:10 AM »
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

Offline
*****
Re: File upload limit
« Reply #3 on: March 03, 2023, 02:58:41 PM »
Correct, but depending on what is being run, the php.ini is in different locations.

Which is why I was asking what version.