Increase upload file limit

Need help with the Administration of your Joomla! 1.5 site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Post Reply
imfritzy
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 116
Joined: Mon Nov 06, 2006 10:57 pm

Increase upload file limit

Post by imfritzy » Fri Dec 18, 2009 10:06 pm

I have recently installed Joomla 1.5 and notice in Media Manager that the file upload limit is 10MB. I would like to increase it to 32 MB. When I used Joomla 1.0, I added some code to the php.ini file, but no such file exists (or I can't find it) with my new version of Joomla. What can I do to increase the file upload limit?

Thank you.

User avatar
almoravit
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 121
Joined: Fri Sep 25, 2009 10:41 pm
Location: Barcelona
Contact:

Re: Increase upload file limit

Post by almoravit » Fri Dec 18, 2009 10:48 pm

Hi,

In the back end click on Help->System Info and then click on the PHP Information link.
There you'll find where is your php.ini and the maximum allowed upload size (upload_max_filesize). To change it simply edit the php.ini file and change the value of the parameter upload_max_filesize to your needs.
If your site is on a hosting, maybe you cannot change that.

Best regards,
Almoravit

imfritzy
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 116
Joined: Mon Nov 06, 2006 10:57 pm

Re: Increase upload file limit

Post by imfritzy » Fri Dec 18, 2009 11:03 pm

That's a help, but I'm still stuck. I'm worried that my hosting service (Siteground) limits me. I had another website with GoDaddy and didn't have this problem.

I think I'm looking where you told me to go -- under PHP information. Next to "Loaded configuration file" is the path /usr/local/php52/lib/php.ini , but I can't find that directory when searching through the root directories of the site.

Any thoughts?

Thanks again.

User avatar
almoravit
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 121
Joined: Fri Sep 25, 2009 10:41 pm
Location: Barcelona
Contact:

Re: Increase upload file limit

Post by almoravit » Mon Dec 21, 2009 11:44 pm

Hi,

unfortunately you can't solve this. Your provider has an upload limit setted and you cannot change it by your side. Try to talk with them, but, for my experience, don't expect they give a solution. Normally those rules are fire marked.

Best regards,
Almoravit

User avatar
RenewGuru
Joomla! Intern
Joomla! Intern
Posts: 76
Joined: Thu Mar 11, 2010 1:34 am

Re: Increase upload file limit

Post by RenewGuru » Fri Jan 21, 2011 8:42 pm

Well if you are using Siteground all I can say is GOOD LUCK! Especially if you ever need to rely on their web site backups. I now use Rylee James hosting and for very good reasons all of which resulted in having to completely rebuild my company web site because of problems I had with Siteground hosting.

imfritzy
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 116
Joined: Mon Nov 06, 2006 10:57 pm

Re: Increase upload file limit

Post by imfritzy » Fri Jan 21, 2011 9:13 pm

Well, I learned the hard way.

Siteground had many limitations that I found frustrating, including severe limits on the number of hourly and daily script executions permitted on the account, limits on backing up files, as well as lousy customer service. I recently left SiteGround and now happily use Hostgator, which has provided great, prompt service, fast servers, reasonable prices, and as relates to this thread, a php.ini file that I can adjust.

User avatar
roma64
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 110
Joined: Mon Feb 12, 2007 12:18 pm
Location: Reading, PA
Contact:

Re: Increase upload file limit

Post by roma64 » Thu Apr 09, 2015 4:04 pm

I have been with Siteground for years and have moved all my customers to them and since the move, we had nothing but good service and support!

Regarding your php.ini upload limit, the solution is very simple! just open your php.ini file (located in the root of your site) and add the following line (if it does not exist):

Code: Select all

upload_max_filesize = 20M
You can change the size to meet your needs.

If you are not confortable touching the php.ini file, you can make the changes through your cPanel (Siteground) as follow:

- Login to your site's cPanel, and under '1H SOFTWARE', click on the 'PHP Variables Manager' icon
- Once there, you will see something like this:
domain/ public_html php.ini
- click on the public_html
- Then in the 'upload_max_filesize' box, add the desired size

Important: Make sure that the 'Apply changes to all sub-directories?' option is Check
- Then click on 'Save'

and you are good to go

As of today, Siteground has set the upload_max_filesize to 100M, which is more than enough.
I hope this helps
SimplerWebs

oxido
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Tue Nov 30, 2010 2:45 pm

Re: Increase upload file limit

Post by oxido » Wed Apr 04, 2018 8:33 am

create a new file in www folder: .user.ini and paste this:
upload_max_filesize = 100M
post_max_size=105M
max_execution_time=120

bephelps
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Sat Nov 19, 2011 11:55 am

Re: Increase upload file limit

Post by bephelps » Mon Jun 18, 2018 2:15 am

this does not work.
Does anyone know how to increase the upload_max_filesize on a hosted server?

CookieOfficial5
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Fri May 18, 2018 6:59 am

Re: Increase upload file limit

Post by CookieOfficial5 » Mon Jun 18, 2018 2:43 am

On a dedicated server you would increase it using your control panels php.ini configuration if on a shared host you would want to contact your host as have them do it

bephelps
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Sat Nov 19, 2011 11:55 am

Re: Increase upload file limit

Post by bephelps » Mon Jun 18, 2018 4:20 pm

On a dedicated server ! That does not work. I tried all day Sunday and other [youtube] answers and none of them work.

CookieOfficial5
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Fri May 18, 2018 6:59 am

Re: Increase upload file limit

Post by CookieOfficial5 » Mon Jun 18, 2018 4:38 pm

What control panel do you use

bephelps
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Sat Nov 19, 2011 11:55 am

Re: Increase upload file limit

Post by bephelps » Mon Jun 18, 2018 4:43 pm

This is a test bed. On a dedicated server ! IBM AIX unix server. That does not work. No Cpanel.

CookieOfficial5
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Fri May 18, 2018 6:59 am

Re: Increase upload file limit

Post by CookieOfficial5 » Mon Jun 18, 2018 4:59 pm

Then I’m not sure sorry I’ll let a pro handel this

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 11724
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Increase upload file limit

Post by brian » Tue Jun 19, 2018 12:52 am

As its a dedicated server then yo can edit the php.ini directly. Don't forget to restart apache after making the changes or they won't have any effect
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

bephelps
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Sat Nov 19, 2011 11:55 am

Re: Increase upload file limit

Post by bephelps » Tue Jun 19, 2018 3:28 am

Did every thing you said!
No change the upload size is still the same 2MB.
I am wondering if any one can tell me how to change the upload size?

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 10079
Joined: Thu Feb 15, 2007 5:48 am
Location: Oxford, UK
Contact:

Re: Increase upload file limit

Post by toivo » Tue Jun 19, 2018 5:48 am

In your previous topic you asked about PHP 7 in AIX 5.3 which had its EOL six years ago. Others would be able to assist you better with your server configuration if you could post the output from the Forum Post Assistant (FPA) by following the instructions at viewtopic.php?f=621&t=582860
Toivo Talikka, Global Moderator
my first programs were assembled and run in 16KB :)
troubleshooting smtp and other articles https://talikka.com/joomla

bephelps
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Sat Nov 19, 2011 11:55 am

Re: Increase upload file limit

Post by bephelps » Tue Jun 19, 2018 12:28 pm

Configuration File (php.ini) Path not set correctly.
The testing.php file showed no path was set for Configuration File (php.ini) Path.
And the path that was set was pointing to a empty or directory that did exist.
How can the Configuration File (php.ini) path be set to the standard correct directory?

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 11724
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Increase upload file limit

Post by brian » Tue Jun 19, 2018 12:36 pm

This is basic server management and not joomla management. If you don't know what you are doing with a server then you shouldnt use it. It's a big responsibility!
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

bephelps
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Sat Nov 19, 2011 11:55 am

Re: Increase upload file limit

Post by bephelps » Tue Jun 19, 2018 1:05 pm

You are correct.
The 4 other server that I built work correctly.
The server was and is working fine.
The install of PHP7 seem to have been the problem.
And you did't know the answer did you?
Troubleshooting for the problem was sample.
But, your input has been noted!!!
Thanks all for sharing.


Post Reply

Return to “Administration 1.5”