How to Increase file upload limit from 2mb??

Found a bug? Tell us!!
Post Reply
Capt Mike
Regular
Posts: 63
Joined: Sat Mar 11, 2006 11:43 am

How to Increase file upload limit from 2mb??

Post by Capt Mike »

Hi,

I cannot seem to upload files greater than 1mb to my site. php.inc is set to 20Mb so that is not the issues. I can upload any size with a third party ftp client. So it must be a setting somewhere in s9y, but where???!! :shock:

I looked in the mysql tables, and found nothing that looked like a setting.

im stumped.... :?
"Arr, ye call that an anchor?"
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: How to Increase file upload limit from 2mb??

Post by garvinhicking »

Hi!

You must talk to your hoster to change this limit through the php.ini variables. FTP limits are something else than the limits that apply to PHP.

Also bear in mind that you might not only need to raise the post_max_size and upload_max_filesize settings, but also memory_limit to allow PHP to parse the larger uploaded files.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Capt Mike
Regular
Posts: 63
Joined: Sat Mar 11, 2006 11:43 am

Post by Capt Mike »

Hi Garvin,

The host setting is at 20mb at php.inc , so that is not issue.

Where do I find the following:
post_max_size and upload_max_filesize settings, but also memory_limit
I'm a bit weak with php and mysql, sorry.

Thanks for the help as always!
"Arr, ye call that an anchor?"
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!
The host setting is at 20mb at php.inc , so that is not issue.
Which settings exactly? And you sure mean php.ini, not php.inc?
Where do I find the following:
In php.ini :)

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply