This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

PHP Upload limit
#8
RE: PHP Upload limit
(05-30-2015, 02:40 AM)Crunchn Wrote: I would like some help looking for how to change the PHP upload limit.

I have a wordpress installation with sentora 1.0.0. I have updated everything I could think of, from htaccess tweaks to php.ini to increase the upload limit. I have even put in some custom variables for suhosin (even disabling it) to try and allow a higher upload limit.

No matter what I try and do, I cannot upload greater than 128M, I have all the upload limits at 256M.

I suppose I would assume there is some magical hidden upload limit that I can't seem to figure out where it is or where I might be able to change it. If anyone could help me out, I would be very grateful.

You can increase upload size limit editing the PHP.ini file and add the code

upload_max_filesize = 20M
post_max_size = 25M
memory_limit = 30M

You can also do this editing .htaccess fileand add the code

php_value upload_max_filesize 20MB
php_value post_max_size 25MB
php_value memory_limit 30MB

Another method is modifying WordPress editing wp-config.php or functions.php  

@ini_set( ‘upload_max_size’ , ’20MB’ );
@ini_set( ‘post_max_size’, ’25MB’);
@ini_set( ‘memory_limit’, ’30MB’ );

If still facing any issue you can go through this guide to increase upload size limit
Reply
Thanks given by:


Messages In This Thread
PHP Upload limit - by Crunchn - 05-30-2015, 02:40 AM
RE: PHP Upload limit - by apinto - 05-30-2015, 04:12 AM
RE: PHP Upload limit - by Crunchn - 05-30-2015, 05:08 AM
RE: PHP Upload limit - by apinto - 05-30-2015, 10:37 AM
RE: PHP Upload limit - by Me.B - 05-30-2015, 08:28 PM
RE: PHP Upload limit - by Crunchn - 06-01-2015, 09:33 AM
RE: PHP Upload limit - by apinto - 06-01-2015, 06:32 PM
RE: PHP Upload limit - by amandajames - 07-25-2019, 09:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
How do i increase memory limit for one user?? vickyperkin 1 4 ,515 07-31-2019, 08:44 AM
Last Post: TGates
How do i increase memory limit for one user?? BloodySky 3 7 ,395 08-11-2018, 11:28 AM
Last Post: wormsunited
Webpage not updating after I upload new files Zreddx 2 5 ,926 04-18-2018, 05:26 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)