17488 Posts in 4473 Topics by 1978 members
| Go to End | Next > | |
| Author | Topic: | 3215 Views |
-
Installing problem

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?
-
Re: Installing problem

5 April 2008 at 12:01pm
In both install.php and sapphire/main.php, add ini_set('memory_limit', '32M'); near to the top.
-
Re: Installing problem

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
-
Re: Installing problem

5 April 2008 at 3:50pm
To be honest I am not exactly sure on how to go about doing that.
-
Re: Installing problem

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
. -
Re: Installing problem

5 April 2008 at 5:08pm
Not having php.ini access isn't a problem.
sapphire/main.php, add:
ini_set('memory_limit', '64M');
-
Re: Installing 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 'mysite/_config.php'...
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 14Thanx
| 3215 Views | ||
| Go to Top | Next > |

