Upload limit issue

johnyqdesigns3019

New Member
YetiShare User
Sep 21, 2013
12
0
0
my script is hosted on a shared server

my TMP Folder Size is (2.75 GB). This i cannot change

Now I see that my max upload limit on website is 2MB, though i set it to 500 MB for FREE User & 1GB for PAID User.

How do i fix this issue?
 

ysmods

New Member
Jan 29, 2013
860
1
0
UK
www.ysmods.com
Try uploading the php.ini file that came with the script and see if that works.

If that doesn't work, then try editing the .htaccess file removing the "#" from the following 2 lines

Code:
#php_value upload_max_filesize 4000M
#php_value post_max_size 4000M
So those 2 lines look like this

Code:
php_value upload_max_filesize 4000M
php_value post_max_size 4000M
If your host doesn't allow custom php.ini files or .htaccess php variables then you won't be able to increase the max_upload_size.
 

johnyqdesigns3019

New Member
YetiShare User
Sep 21, 2013
12
0
0
hi,

i've set the code as below in .htaccess file, but i got error 500 Internal Server

php_value upload_max_filesize 4000M
php_value post_max_size 4000M

---------

so i reset them & in the php.ini file;

line 488 - upload_max_filesize = 2M
---
i changed 2M to 10M

-----

now i get 8MB upload limit on site, but not 10MB

even if i set any higher value, only 8 is being displayed as Max Upload Limit.

================

i was told by the hosting support team - that it is a

suphp server and php values cannot be set through .htaccess

Php values can be tweaked only using custom php.ini

PLASE LET ME KNOW WHAT CAN BE DONE. HOPE TO HEAR FROM YOU SOON. THANKS IN ADVANCE!!!
 

johnyqdesigns3019

New Member
YetiShare User
Sep 21, 2013
12
0
0
Thankyou for sending the thread!

Making following changes in php.ini has solved the issue!

PHP Settings:
Modify your php.ini settings (usually located in /etc/php5/php.ini) to the following:
upload_max_filesize = 2G
post_max_size = 2G
max_execution_time = 84600
max_input_time = 84600

Suhosin Users:
Within the servers php.ini file set 'suhosin.post.max_value_length' to a large value. i.e. 2147483648 = 2GB.
 

johnyqdesigns3019

New Member
YetiShare User
Sep 21, 2013
12
0
0
in Admin Dashboard, im gettin the following notification

ERROR:

The maxium permitted upload size in your php.ini file (2 MB) is less than what you've configured for the free account level (500 MB) and paid account level (1 GB). Uploads greater than 2 MB will not work on the site.

Please contact your host to have the PHP max upload size increased.