Error Solution "Allowed memory size of 41943040 bytes exhausted"NetworkSolutions
-
Hi All,
Today I got an error “Allowed memory size of 41943040 bytes exhausted”…
My Web Host is Network Solutions aka web.com so this solutions may only be relevant to that hosting provider. After 5 hours of trying solutions from the Forum and web with none working and even Network Solutions own FAQ solution not working I found the solution as follows:
1) Connect via FTP to your hosting package’s primary FTP account.
2) Navigate to the /cgi-bin folder and determine if you have a file there called php.ini.
– If you do, download it for editing.
Once the file is downloaded open it with Notepad on a PC or TextEdit on a Mac. If the file did not exist create a new file and save it with the file name php.ini (must be lowercase).
– Or as an alternate for those using Notepad++ select “View/Edit” to open.
Step 4: Add the below lines of code to the file and save it.<?php
memory_limit = 64M
output_buffering = 2048
?>5) Upload the saved file to the FTP server and place it in the /cgi-bin fodler.
6) Navigate to the /cgi-bin/.php folder and locate the php.ini.coalesced file.
– Download or View/Edit.
– At the bottom of the file add the following:memory_limit = 64M
output_buffering = 2048Now Save the file and Upload it to the Server.
7) Browse to any PHP enable page on your site and the new settings will be enabled.
Hope this helps.
I am a new to WP so I will likely not be able to address technical questions outside the scope of this solution.
- The topic ‘Error Solution "Allowed memory size of 41943040 bytes exhausted"NetworkSolutions’ is closed to new replies.