Premium Only Content
How to Increase Maximum PHP Memory Limit and Remove Limit Error on WordPress from cPanel (Solved!) 🤯
In this video, I show you how to increase your WordPress memory so you can use plugins that require a little more power. Below is the code I reference in this video, feel free to copy and paste it. See more on 𝙈𝙔 𝘽𝙇𝙊𝙂 👉 https://yerainabreu.com Please let me know if this video helped you by leaving a 𝘾𝙊𝙈𝙈𝙀𝙉𝙏 👍 𝙎𝙐𝘽𝙎𝘾𝙍𝙄𝘽𝙀 to this channel by this link 👉 https://www.youtube.com/yerainabreu?sub_confirmation=1. If you liked this video please give it a 𝙇𝙄𝙆𝙀 and 𝙎𝙃𝘼𝙍𝙀 with friends! Read more below. 👇👇👇
Code: 👉define( 'WP_MEMORY_LIMIT', '128m' );
👇 Looking for a new hosting service? Check out my favorite web host SiteGround: https://www.siteground.com/go/yerainabreu
— 𝗚 𝗘 𝗔 𝗥 —
👉 Microphone: Audio-Technica ATR-6550: https://amzn.to/3HNtJGc
👉 Computer: MacBook Pro 16 Inch: https://amzn.to/34GLcSa
👉 Padcaster Parrot Teleprompter: https://amzn.to/3gF0yt5
👉 Elgato Auxiliary Holding Arm https://amzn.to/3sxTZ0V
👉 Lighting: Viltrox VL-300T https://amzn.to/3jorhJ7
👉 Camera: Sony ZV1: https://amzn.to/3uKNUkd
👉 Desk Mount Clamp: https://amzn.to/3Js9gar
👉 Camera Tripod: https://amzn.to/2TpdUxI
▸ Editing Software: Premiere Pro CC 2022
▸ Screen Recording Software: Quicktime
— 𝗖 𝗢 𝗡 𝗡 𝗘 𝗖 𝗧 —
▸ https://instagram.com/yerainabreu
▸ https://facebook.com/yerainabreu
▸ https://dribbble.com/yerainabreu
▸ https://tiktok.com/@yerainabreu
▸ https://twitter.com/yerainabreu
▸ https://yerainabreu.com
If you've read this far down the description, I want to sincerely thank you for checking out my videos.
— 𝗧 𝗥 𝗔𝗡 𝗦 𝗖 𝗥 𝗜 𝗣 𝗧 𝗜 𝗢 𝗡 —
So if you’re getting a memory limit error on your WordPress dashboard, I’m going to show you how to fix that right now. This method includes going into your see panel. I’ll be doing it with HostGator because that’s my hosting provider. But if you have something else, I’m sure it’ll probably work the same way.
The problem that I’m having is that the current memory limit is set to 40 megabytes, and I want to increase that because, on this particular website, I’m going to be using a couple of plug-ins that require a lot more memory.
How to fix memory limit error on WordPress
This does involve going into the back end of your website and editing with some custom code. If you don’t feel comfortable with that, maybe this isn’t for you, but it’s simple. It’s just copy-paste, and I’ll provide the code in the description. So you shouldn’t have a problem. Just paste it at the same place that I put it.
Step 1: Access your cPanel
First, go to your HostGator account. You could log in straight to the cPanel, but I always log into the hosting portal.
Step 2: Find the website you need to fix
From this point, you’re going to want to click file manager. Here’s a list of our websites. We’re going to look for the particular website that we’re trying to increase memory.
Step 3: Located wp-config
Locate the WP config file, right-click it and click Edit. (If you double click WP config instead of right-clicking and go into edit, it’s not going to open the file, it’s just going to download it to your downloads folder). Next, you will see some PHP code. It can look pretty intimidating but don’t worry, don’t mess with anything else here. Just do what we’re going to do, and you should be fine.
Step 4: Paste this code
Now, go down to the right where it says “MySQL Settings” and paste this code: “define( 'WP_MEMORY_LIMIT', '128m' );” right above. That’s it.
That’s all we have to do. Now click Save, and the alert should just go away. Now you can use those plug-ins that use a little bit more memory.
Reasons why your code might not be working
There are a few reasons why your code might not be working.
1. You have a syntax error
If you see a red x mark on the code page, it means the code syntax is not written correctly and will not work, and it might end up crashing your entire website. So if you see an X there, that means that you definitely typed something wrong. Check that you didn’t put a comma where it shouldn’t be.
2. You are missing a comma
Another reason for this code not working is that you are missing a comma. You might have found the code from somewhere else on the internet, maybe Stack Overflow or some other website, but when you grabbed it and tasted it exactly, the original poster was missing the comma.
*Read the full transcript on my blog https://yerainabreu.com.
— 𝗧 𝗔 𝗚 𝗦 —
#webdeveloper #wordpress #hostgator#productivity #namecheap #seo #digitalmarketing #marketing #socialmediamarketing #webdesign #html #website #css #digitalmarketing #programming #coding #javascript #websitedesign #webdesigner #developer #web #marketing ##python #coder #ecommerce #design #php #code #software #softwaredeveloper #business #graphicdesign #digital #graphicdesign #websitedesign #smallbusiness #sem
-
LIVE
Right Side Broadcasting Network
10 days agoLIVE REPLAY: President Donald J. Trump Keynotes TPUSA’s AmFest 2024 Conference - 12/22/24
2,835 watching -
4:31
CoachTY
1 day ago $28.15 earnedCOINBASE AND DESCI !!!!
184K11 -
10:02
MichaelBisping
1 day agoBISPING: "Was FURY ROBBED?!" | Oleksandr Usyk vs Tyson Fury 2 INSTANT REACTION
104K14 -
8:08
Guns & Gadgets 2nd Amendment News
2 days ago16 States Join Forces To Sue Firearm Manufacturers Out of Business - 1st Target = GLOCK
126K91 -
10:17
Dermatologist Dr. Dustin Portela
2 days ago $19.15 earnedOlay Cleansing Melts: Dermatologist's Honest Review
161K14 -
1:02:20
Trumpet Daily
2 days ago $50.77 earnedObama’s Fake World Comes Crashing Down - Trumpet Daily | Dec. 20, 2024
116K71 -
6:29
BIG NEM
1 day agoCultivating God Mode: Ancient Taoist NoFap Practices
83.8K21 -
30:53
Uncommon Sense In Current Times
2 days ago $12.05 earned"Pardon or Peril? How Biden’s Clemency Actions Could Backfire"
93.9K10 -
40:01
CarlCrusher
1 day agoSkinwalker Encounters in the Haunted Canyons of Magic Mesa - ep 4
85.5K10 -
59:44
PMG
2 days ago $11.54 earned"BETRAYAL - Johnson's New Spending Bill EXPANDS COVID Plandemic Powers"
84.2K52