Fatal error on Godaddy
-
Hello,
Just letting you know on some hosting accounts (e.g. godaddy) this code will fail:
@ini_set(“memory_limit”, “4096M”);
The 4096M is over their allowed limits, so the hosting account falls back and gives the entire wordpress site the minimum memory limit value ( for me it was 0.6M ). Of course this stops the entire website from functioning, and the ‘@’ there made this problem quite tricky to find!
I recommend checking the ‘memory_limit’ value after you set it to ensure it worked correctly, or just don’t set it to something as ridiculous as 4GB.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Fatal error on Godaddy’ is closed to new replies.