[CLUG-tech] vhcs wemail memory setting

David Peall david at esn.org.za
Fri Mar 23 07:52:45 SAST 2007


Paul Scott
> 
> You could also try just setting the memory limit with an .htaccess or
> by
> modifying the file
> 
> On Fri, 2007-03-23 at 00:04 +0200, Izak Burger wrote:
> > /var/www/vhcs2/gui/tools/webmail/inc/class.uebimiau.php
> 
> and putting a:
> 
> ini_set("memory_limit", 20); at the top of the file.
> 
> That way you won't mess with the global php.ini. Also watch out for
the
> fact that on some distros, PHP.ini is different for the CLI version,
> CGI
> version and Apache module, so make sure and change the appropriate
one.
> 

I prefer to set this in the Apache for the virtual web using:
php_admin_value memory_limit 20 


regards

David Peall :: Systems Administrator
e-Schools' Network :: http://www.esn.org.za/ 
Phone +27 (021) 674-9140





More information about the clug-tech mailing list