Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: Gezegenler on June 06, 2019, 06:22:56 AM

Title: Upload Size Change
Post by: Gezegenler on June 06, 2019, 06:22:56 AM
Hello,

I accept files on my website but the limit is 2 MB. I changed the files to upgrade this. The file upload value changed in phpMyAdmin but still 2MB for my site.

Installed 7.2.10 and "/opt/alt/php72/usr/php/php.ini"
and "/usr/local/php/php.ini"

Code: [Select]
upload_max_filesize = 10240M
post_max_size = 10240M
memory_limit = 4096M
max_execution_time = 980
max_input_vars = 100000
max_input_time = 4000

but still 2MB.
What is the reason of this?
Title: Re: Upload Size Change
Post by: johnny09 on June 06, 2019, 08:27:32 AM
Had similar problem, helped

http://YOUR_IP:2030/admin/index.php?module=file_editor&file=/usr/local/php/php.ini
file_uploads = Off
Title: Re: Upload Size Change
Post by: Gezegenler on June 06, 2019, 11:38:03 AM
Not working
Title: Re: Upload Size Change
Post by: Gezegenler on June 06, 2019, 01:14:13 PM
solved.

you can create a ".user.ini" file in "/home/username/"