increase memory limit on wamp
Posted by: jagguy (101.160.153.---)
Date: June 21, 2016 02:13PM

Hi, I have wamp64 and php version 5.6.16 and apache 2.4.17. I have a 4gb ram win7 pc

I am running a cakephp project and keep getting an error when displaying rows from a table

Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4145278 bytes)

To increase the memory there is no php.ini so I changed the memory_limit = 2048M in php-production.ini NOt sure if I edited the correct file.

This has no effect as i still get the same error. Am I able to increase the memory limit and do I do this in which file? I seem to be stuck on this amount of memory 134217728

I didnt make sense of past issues on the topic as the php.ini doesnt exist in this wamp

Thanks



Edited 1 time(s). Last edit at 06/21/2016 02:13PM by jagguy.

Options: ReplyQuote
Re: increase memory limit on wamp
Posted by: Otomatic (Moderator)
Date: June 21, 2016 02:43PM

Hi,

Wampmanager tray icon -> PHP -> php.ini
Open the "good" php.ini file with the text editor defined at install.
If you want to open the file with another texte editor, it is wamp/bin/apache/apache2.4.17/bin/php.ini

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.