Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RWH General
Author Message
candy
Worker
Worker



Joined: Dec 21, 2004
Posts: 225
Location: Kansas City metro

PostPosted: Mon Jul 18, 2005 7:50 pm Reply with quote

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.
 
View user's profile Send private message
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Mon Jul 18, 2005 10:52 pm Reply with quote

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!
 
View user's profile Send private message
candy







PostPosted: Mon Jul 18, 2005 10:54 pm Reply with quote

thanks. where is the php.ini file?
 
kguske







PostPosted: Mon Jul 18, 2005 11:05 pm Reply with quote

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
Worker



Joined: Jul 06, 2005
Posts: 172

PostPosted: Fri Apr 27, 2007 12:32 pm Reply with quote

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 
View user's profile Send private message Visit poster's website
fkelly
Former Moderator in Good Standing



Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY

PostPosted: Fri Apr 27, 2007 3:17 pm Reply with quote

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.
 
View user's profile Send private message Visit poster's website
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Fri Apr 27, 2007 6:04 pm Reply with quote

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. Wink

_________________
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! 
View user's profile Send private message Visit poster's website
sak







PostPosted: Sat Apr 28, 2007 2:52 pm Reply with quote

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.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RWH General

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©