Author |
Message |
candy
Worker


Joined: Dec 21, 2004
Posts: 225
Location: Kansas City metro
|
Posted:
Mon Jul 18, 2005 7:50 pm |
|
is there any way we can change this in the cpanel? it is 2M now, but want to knot if this is something we can change or if it is set by raven? Thanks. |
|
|
|
 |
kguske
Site Admin

Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Mon Jul 18, 2005 10:52 pm |
|
The maximum upload size is determined by 2 things: an HTML setting and a PHP.ini setting. If you store the upload in a MySQL database, there is a third setting that limits blob sizes in a MySQL database. Most webhosts won't change the default PHP.ini setting for obvious reasons, but you CAN override it with a local php.ini. |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
 |
candy

|
Posted:
Mon Jul 18, 2005 10:54 pm |
|
thanks. where is the php.ini file? |
|
|
|
 |
kguske

|
Posted:
Mon Jul 18, 2005 11:05 pm |
|
If you're on a shared server, it's not accessible. But you can create your own php.ini and install it in the directory where the script will run, overriding the settings in the server's php.ini. Unfortunately, a local php.ini file must contain ALL settings, not just the one(s) you want to override... Also, some hosts don't allow local php.ini files. |
|
|
|
 |
sak
Worker


Joined: Jul 06, 2005
Posts: 172
|
Posted:
Fri Apr 27, 2007 12:32 pm |
|
I'd be interested in this one as well -- would be nice for Gallery2. Being able to change it on the fly would be handy too.
Does raven's web hosting accommodate the local php.ini file? Can we get a copy of what to use (so that we stick with your regular settings) if so, allowing us to only change the upload limit? |
_________________ www.ICarry.org
www.GunOwnersFellowship.com |
|
|
 |
fkelly
Former Moderator in Good Standing

Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY
|
Posted:
Fri Apr 27, 2007 3:17 pm |
|
Use FTP? If you are talking about a mysql database get a copy of bigdump and upload a copy of that together with a tar.gz dump of your database, both using FTP, then run bigdump against the uploaded dump file. |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Fri Apr 27, 2007 6:04 pm |
|
I believe Raven will have to answer this one as this is on his servers. I would doubt that Raven would allow local php.ini files, but may allow certain overrides within .htaccess, but he really needs to address that one and he may wish to do so in private.  |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
sak

|
Posted:
Sat Apr 28, 2007 2:52 pm |
|
The only thing I would use it for so far is gallery, and it's not a big deal right now. I'll bug him later if it becomes an issue. |
|
|
|
 |
|