Fatal error memory size change didn't work
Posted by: Wolf (---.ip.telfort.nl)
Date: March 23, 2010 05:54PM

Hello all,

I got the usual error message about the memory limit:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 44 bytes) in C:\wamp\www\kinderfiets\core\db_mysql41.php on line 133

so in php.ini I changed the size of the memory_limit. But no matter how high I set it, I till get this darn warning.

Does anyone have a clue what might be the problem?

Options: ReplyQuote
Re: Fatal error memory size change didn't work
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: March 23, 2010 06:03PM

which php.ini are u changing

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Fatal error memory size change didn't work
Posted by: Wolf (---.ip.telfort.nl)
Date: March 23, 2010 06:07PM

I am copying a store to my local server for testing and this store needs to run on PHP 5.2.9.2 and I am changing the php.ini in C:\wamp\bin\php\php5.2.9-2

Options: ReplyQuote
Re: Fatal error memory size change didn't work
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: March 23, 2010 06:08PM

To edit php.ini left click wamp tray icon and go to php > php.ini

Options: ReplyQuote
Re: Fatal error memory size change didn't work
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: March 23, 2010 06:09PM

wrong php.ini


left click wamp icon> php>php.ini


its actually in the apache/bin folder

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Fatal error memory size change didn't work
Posted by: Wolf (---.ip.telfort.nl)
Date: March 23, 2010 06:13PM

I tried that as well (forgot to mention it in my previous post) but to no avail. It still won't work.

Options: ReplyQuote
Re: Fatal error memory size change didn't work
Posted by: Wolf (---.ip.telfort.nl)
Date: March 23, 2010 06:15PM

I have it now set to memory_limit = 528M wamp tray icon and go to php > php.ini but I keep getting the warning strangely enough.

Options: ReplyQuote
Re: Fatal error memory size change didn't work
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: March 23, 2010 06:59PM

Make sure you're restarting Apache after making any changes

Options: ReplyQuote
Re: Fatal error memory size change didn't work
Posted by: Wolf (---.ip.telfort.nl)
Date: March 23, 2010 07:02PM

I did restart the wampserver as a whole everytime I made a chnage. I assume this is enough. Because if i try to restart apache I get an error message.



Edited 1 time(s). Last edit at 03/23/2010 07:04PM by Wolf.

Options: ReplyQuote
Re: Fatal error memory size change didn't work
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: March 23, 2010 07:16PM

u get an error?!

lol
what colour is ur wamp icon?

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Fatal error memory size change didn't work
Posted by: Wolf (---.ip.telfort.nl)
Date: March 23, 2010 07:20PM

Eeehm darkish whitegrey kind of color:-D.

Options: ReplyQuote
Re: Fatal error memory size change didn't work
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: March 23, 2010 07:24PM

whats the error ur getting?


u shudnt get any

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Fatal error memory size change didn't work
Posted by: Wolf (---.ip.telfort.nl)
Date: March 23, 2010 07:29PM

Could not excecute menu item (internal error) [Exception] Could not perform service action: The service has not been started.

This is when I change from php version and then restart Apache.

Options: ReplyQuote
Re: Fatal error memory size change didn't work
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: March 23, 2010 07:30PM

then u have some problems.

look in the logs folder for more

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Fatal error memory size change didn't work
Posted by: Wolf (---.ip.telfort.nl)
Date: March 23, 2010 07:33PM

There is a rather long list in the apache_error.log. Is there anything particular you want to see or would I be smart just to uninstall wamp and reinstall it. Isn't such a huge hassle.

Options: ReplyQuote
Re: Fatal error memory size change didn't work
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: March 23, 2010 07:46PM

if u uninstall it.. make sure u delete the wamp folder after u uninstall as it leaves alot of files behind..

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Fatal error memory size change didn't work
Posted by: Wolf (---.ip.telfort.nl)
Date: March 23, 2010 07:56PM

I will do a reinstall (remove the wamp folder first) and see where it leads me. I might be back:-).

Options: ReplyQuote


Sorry, only registered users may post in this forum.