Jump to content


Lyle

Member Since 25 Sep 2012
Offline Last Active Apr 07 2017 03:45 AM
-----

Posts I've Made

In Topic: Website Crashing - Running out of Memory

02 March 2017 - 03:43 AM

Hi Sweet Pea,

 

The memory referred to in the error is memory allocated to PHP and is not the server memory :)

 

To increase the PHP memory limit:
 

- stop Apache in the UniServer Control Panel (USCP)

- from the USCP, select PHP > Edit selected configuration file

- this will open the currently in use php.ini file in Notepad

- perform a Find for the word memory

- the first instance will be:

 

; Maximum amount of memory a script may consume (128MB)
memory_limit = 128M
 
- change 128M to 256M and File > Save
- restart Apache
 
That should do it :)
 
Cheers!
Lyle