17486 Posts in 4473 Topics by 1978 members
Page: 1 2
|Go to End||Next >|
4 April 2008 at 10:14pm Last edited: 4 April 2008 10:17pm
Ive tried to install SilverStripe 2.2.1 on to of my webserver. But ive got a memory limit problem.
"SilverStripe needs a minimum of 20M allocated to PHP, but recommends 32M. You only have 16M allocated"
"SilverStripe needs a minimum of 20M allocated to PHP, but recommends 32M. You only have 8M allocated"
I can't edit any apache configfiles because the hosts are commercial. Is there anyway to get around this?
5 April 2008 at 12:01pm
In both install.php and sapphire/main.php, add ini_set('memory_limit', '32M'); near to the top.
5 April 2008 at 3:22pm
I have tried to install silverstripe a couple of times.. keep getting this error. Any suggestions anyone??
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 4980736 bytes) in /tmp/silverstripe-cache-home-classicallymodernphotography-public_html/cache.php on line 4
5 April 2008 at 3:24pm
Increase your memory limit from 32M to ~64M.
5 April 2008 at 3:50pm
To be honest I am not exactly sure on how to go about doing that.
5 April 2008 at 5:05pm
You would have to edit the php.ini which I'm guessing you don't have access to since your asking.
I'm also guessing your on shared hosting so well you'll probably be out of luck like me. Although I don't have this problem on install I can't flush anymore .
5 April 2008 at 5:08pm
Not having php.ini access isn't a problem.
5 April 2008 at 11:38pm
I've added "ini_set('memory_limit', '64M');" in the top of "sapphire/main.php" but i still get this error message when im trying to install:
I am now running through the installation steps (this should take about 30 seconds)
If you receive a fatal error, refresh this page to continue the installation
Creating '.htaccess' file...
Building database schema...
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 4864 bytes) in /customers/memaa.net/memaa.net/httpd.www/silverstripe/sapphire/forms/CustomRequiredFields.php on line 14
Page: 1 2
|Go to Top||Next >|