Sweet Pea Posted February 28, 2017 Report Share Posted February 28, 2017 Hi. I'm new here, so please bear with me. I am also the user as well as the host, so plain English would be brilliant if anyone replies. My host computer runs Uniform Server on Windows Server 2008. There aren't many sites on the server, but about once a week, my site will just come up with an error page PHP Fatal error out of memory allocated 4194304 tried to allocate 114688 (plus the URL). The memory had been increased to 3Gb just to see if it could sort the problem. The more memory that it's given, it just takes a bit longer to crash, but it does crash. It's almost like it's using the memory, but not releasing it Quote Link to comment Share on other sites More sharing options...
Lyle Posted March 2, 2017 Report Share Posted March 2, 2017 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); http://php.net/memory-limitmemory_limit = 128M - change 128M to 256M and File > Save- restart Apache That should do it Cheers!Lyle Quote GeneratePress / Elementor / WP Show Posts / Do It Yourself WordPress - Sniffle Valve You want a WordPress website and you want it now - GOOD CHEAP FAST WEBSITES Don't take life too seriously ... nobody has ever gotten out of it alive Link to comment Share on other sites More sharing options...
Sweet Pea Posted March 2, 2017 Author Report Share Posted March 2, 2017 Thank you, I will try that Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.