Wamp/WP
Posted by: bertil (82.196.115.---)
Date: October 14, 2007 03:51PM



I have installed Word Press on a wamp server. " Wamp" works well as far as I can understand, but after I had installed Swedish in wp and then tried to connect to wp-admin I got the following message:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 98304 bytes) in
D:\hemsidor\XHTML\wamp\www\blogg\wp-admin\menu-header.php on line 70

I wrote to the Swedish wp group who answered that it looked like a server problem although they did not know how to deal with it . If someone recognize my problem/ the error message and is able to come up with a solution I would be most grateful!

Ignorant novice

Options: ReplyQuote
Re: Wamp/WP
Posted by: toivo (203.19.130.---)
Date: October 14, 2007 04:05PM

Hej Bertil,

You need to increase the 8MB default RAM allocation for PHP sessions. Edit the php.ini file in c:\wamp\Apache2\bin and find the line:

memory_limit = 8M

Change the limit for example to 24MB:

memory_limit = 24M

Restart Apache from the WAMP icon in the System Tray and the new maximum memory allocation for a PHP session will be activated. If in doubt, create the following script in your document root, call it phpinfo.php and point your browse to it. Check the memory_limit setting from the output of the phpinfo script:

<?php
phpinfo();
?>

Med vänliga hälsningar,



toivo
Sydney, Australia

Options: ReplyQuote


Sorry, only registered users may post in this forum.