Large file uploads in Gallery

Large file uploads in Gallery

Posted by: rhongell
Posted on: 2006-02-28 20:47:00

I am trying to find out how to change the upload file size limitation on the one-click install of Gallery, it seems to have a limit of 7MB. I have read some information on the Gallery home page about changing the php.ini file but being new to dreamhost and php stuff I have no idea where I might find this file or if I need to create one what it should contain other then the line the Gallery folks want and where to put it. There is also mention of modifying/adding a .htaccess file but again what and where? Thanks for the help! Ron

Re: Large file uploads in Gallery

Posted by: silkrooster
Posted on: 2006-03-01 00:51:00

This limit is set by DH. To gain access to the php.ini file, you would need to upload your own version of php. You should find instructions on the DH wiki. Also at php.net.
Silk

Re: Large file uploads in Gallery

Posted by: rogermh
Posted on: 2006-03-01 08:00:00

An easier way would be to first FTP your large file to your server and then select "Upload from local server" in Gallery2 to select the file and import it into your gallery.

Re: Large file uploads in Gallery

Posted by: scucolo
Posted on: 2006-03-21 12:21:00

In reply to:


An easier way would be to first FTP your large file to your server and then select "Upload from local server" in Gallery2 to select the file and import it into your gallery.


I tried to do this, but it doesn't seem to work...has anyone
successfully upload and imported large files this way???
if so, are there any little tricks that i migt be missing?
thanks,
steve

Re: Large file uploads in Gallery

Posted by: rogermh
Posted on: 2006-03-21 17:07:00

Hmmm... sorry, I may have provided bad advice. My Gallery has some large movies on it (>>7MB), and since I always import from the local server, I just assumed this was possible. Unfortunately, I realized that these movies were already in my Gallery before I transferred my Gallery to Dreamhost.

There's another thread on this ( http://tinyurl.com/hlcms ), and unfortunately, it doesn't appear that there is much that can be done. Maybe we can each individually email Dreamhost support about this to help them realize that this is important to a number of their users.


Re: Large file uploads in Gallery

Posted by: ardco
Posted on: 2006-03-21 17:23:00

> individually email Dreamhost support about this to help them realize that this is important to a number of their users.

Or better, use the cool Suggestion system in the panel. Here's the one you want, although I don't know why it says 8 instead of 7; note convenient for and against voting links :-)

2005-12-20 Software Installations Up the max php upload file size from 8MB to something higher. [ For it ] [ Against it ] 3 credits

Cheers,

BobS

Re: Large file uploads in Gallery

Posted by: Ryo-ohki
Posted on: 2006-03-21 18:03:00

I don't know why people don't just want to compile php on their account. Then they wouldn't have to worry about the restrictions (within reason...). It's a pretty simple process. You just sit there and watch the screen until it finishes and then edit your .htaccess file lol.

The Insane Cabbit
Blog: http://www.sounanda.com
Store: http://www.marciesgifts.com
PM for CMS or forum install.
$97 Off with promo code pixiedust

Re: Large file uploads in Gallery

Posted by: scucolo
Posted on: 2006-03-21 19:12:00

In reply to:


Hmmm... sorry, I may have provided bad advice. My Gallery has some large movies on it (>>7MB), and since I always import from the local server, I just assumed this was possible. Unfortunately, I realized that these movies were already in my Gallery before I transferred my Gallery to Dreamhost.


no, you were right, using upload from server works!
the first time i tried it i must have chosen a bad directory,
but the second time i tried it worked...very easy work around!!!
much less work then compiling and maintaining your own PHP.
thanks.

Re: Large file uploads in Gallery

Posted by: kchrist
Posted on: 2006-03-21 20:23:00

I don't know why people don't just want to compile php on their account.

Speaking for myself, I don't install my own versions of stuff like this because I just don't want to deal with it.

Before buying my DH account I ran my own web/mail/etc servers and I gave that up because I got tired of admining servers all day at work and then going home and doing it on my own systems. The benefits to installing my own stuff are minimal, and I can live without them if it means I also don't have to keep up on security patches and the like. That's what I'm paying DH for.

You just sit there and watch the screen until it finishes and then edit your .htaccess file

And then watch Bugtraq and the PHP announcement lists for the exploit du jour, then download and compile again. And repeat.

Re: Large file uploads in Gallery

Posted by: scjessey
Posted on: 2006-03-22 04:58:00

In reply to:

And then watch Bugtraq and the PHP announcement lists for the exploit du jour, then download and compile again. And repeat.


ROFLMAO
I just spewed my morning coffee all over my laptop keyboard when I read that. Kenn has a valid point, though. We all say (me included) "just compile your own version," but doing it carries some level of risk. The default DreamHost PHP5 installation suits my needs perfectly, so I've never had to do my own PHP compile. Still, I can imagine (especially with today's fancy shmancy digital SLRs) that 7Mb can seem a bit limiting sometimes.

Re: Large file uploads in Gallery

Posted by: Ryo-ohki
Posted on: 2006-03-22 05:09:00

I'm thinking of upgrading to php5 myself but if my web store broke I'd be pretty upset. I guess I'll switch over oshiete instead since it uses drupal as well so if something breaks on there I will be able to try and fix it whenever I get ready (or find out how). There was only one domain that I needed to compile php for and there's nothing in particular on it, I just needed to enable fopen and such since I had no luck changing the script to use curl *sigh*

The Insane Cabbit
Blog: http://www.sounanda.com
Store: http://www.marciesgifts.com
PM for CMS or forum install.
$97 Off with promo code pixiedust

Re: Large file uploads in Gallery

Posted by: rogermh
Posted on: 2006-03-22 16:48:00

scucolo, that's awesome! I take back what I said about giving bad advice. :-)

How large of a movie did you import?

Tags: php stuffhtaccess filedreamhostini fileupload fileuploadsi have no ideahelpfile size