Modules section

Nieck

Joined: 2005-11-12
Posts: 8
Posted: Tue, 2005-11-15 18:31

Is it possible to acces the modules section in "php_value memory_limit 8M"? My host dont accept 16 or more mb. And has blocked the .htaccess function to change the memory:S. I think i go nuts:S stupid host.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-11-15 18:44

if it doesn't work, no. it's likely that the 8mb limit is the problem if you can't access it.

 
Nieck

Joined: 2005-11-12
Posts: 8
Posted: Tue, 2005-11-15 18:47

Yes i know that is the problem, but can i access it with 8mb? Because my host has blocked php.ini and the .htaccess function to change it.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2005-11-15 22:50

If you can't use more than 8MB of memory for PHP, then you're not going to have a very fun or easy or stable experience of using G2. Get a new host.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Nieck

Joined: 2005-11-12
Posts: 8
Posted: Wed, 2005-11-16 10:54

D'oh ok, thanks

 
hkkk

Joined: 2005-10-25
Posts: 43
Posted: Wed, 2005-11-16 13:00

how many should i set(memory_limit)??
my gallery2 have 1xxx photos, 7 albums now
this box have total 256M ram, set 24M to memory_limit, is it OK?

(PS: sorry i don't speak english)

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2005-11-16 15:07

24MB should to fine, esspecially if you're using NetPBM or ImageMagick, then even 16MB should be fine. If you're using GD, you may want to bump it up to 32 if you start getting problems.
Here is information on how you can change those settings:
FAQ: Why do I get the error Allowed memory size of Xxx bytes exhausted?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-11-16 18:20

moving to support forum..

 
hkkk

Joined: 2005-10-25
Posts: 43
Posted: Thu, 2005-11-17 06:53

Hi Nivekiam, i think set memory_limit to 24M is OK for my site, thanks you
I never saw "allowed memory error message", even use default(8M), but it's slow
(PS: i use GD)