memory allocation .htaccess

enigma2882

Joined: 2003-10-29
Posts: 22
Posted: Mon, 2005-10-03 05:33

Gallery version = 2.0 core 1.0.0
PHP version = 4.3.10 cgi
Webserver = Apache/1.3.33 (Unix) mod_tsunami/3.0 FrontPage/5.0.2.2634
Database = mysql 4.0.21-standard
Toolkits = ArchiveUpload, Exif, ImageMagick, NetPBM
Operating system = Linux lsh151.siteprotect.com 2.4.25 #2 SMP Wed Apr 7 19:21:25 CDT 2004 i686
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7

I've installed G2 and sometimes i'm succesful at uploading pics and other times not and I get the memory allocation error. I know most people say to just add the
php_value memory_limit 32000000

line to .htaccess file

but here's the problem, everytime I make a .htaccess file and upload it no matter if it contains that line or not, i go to do ANYTHING with my gallery and I get an Internal Server Error and I can't do anything.

I know that with G1 it required you to make .htaccess files and another file and go through and set some permissions but I never was told to do that for G2, did I miss something? How can I fix this memory allocation issue?

Thanks

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2005-10-03 06:06

You're doing the right thing to fix the memory allocation issue. I'd contact your host to see why you can't upload a .htaccess file, other than a messed up Apache configuration I don't know why it would be doing that. Maybe ask them if they can bump up the memory avaliable to PHP to at least 16MB

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here