{"id":12114,"date":"2026-04-01T11:06:56","date_gmt":"2026-04-01T11:06:56","guid":{"rendered":"https:\/\/hostonce.com\/blog\/?p=12114"},"modified":"2026-04-08T14:40:39","modified_gmt":"2026-04-08T14:40:39","slug":"wordpress-memory-limit-fixing-and-increasing-php-memory","status":"publish","type":"post","link":"https:\/\/hostonce.com\/blog\/wordpress-memory-limit-fixing-and-increasing-php-memory\/","title":{"rendered":"WordPress memory limit: fixing and increasing PHP memory"},"content":{"rendered":"\n<p><strong>Did you know that most WordPress websites have a PHP memory limit of only 40 MB? While smaller websites can run smoothly with such low memory, sites that use more plugins, features, and images need a higher limit to perform efficiently. <\/strong><\/p>\n\n\n\n<p>For better website functionality, you can raise your WordPress memory limit to 256MB and higher and this article would show you how.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-key-takeaways\"><span id=\"key-takeaways\">Key Takeaways<\/span><\/h4>\n\n\n\n<ul class=\"wp-block-list is-style-cnvs-list-styled-positive\">\n<li><strong>The WordPress memory limit <\/strong>controls how much server memory is available for use on your website.<\/li>\n\n\n\n<li><strong>When the limit is too low<\/strong>, your site may slow down, freeze, or show the \u201cAllowed memory size exhausted\u201d error.<\/li>\n\n\n\n<li><strong>You can increase the memory limit<\/strong> by editing your site\u2019s configuration files like <code>wp-config.<\/code> or <code>.htaccess<\/code>.<\/li>\n\n\n\n<li><strong>Some hosting providers set a limit to how much memory your website can get,<\/strong> so your changes might not apply until you contact support or upgrade your plan.<\/li>\n\n\n\n<li><strong>Always verify your new memory limit<\/strong> after making changes through the Site Health tool on your site&#8217;s dashboard.<\/li>\n\n\n\n<li>If you keep running into memory restrictions, <strong>you may need to switch to a hosting plan that offers better performance like hostonce<\/strong>.<\/li>\n<\/ul>\n\n\n\n<div class=\"cnvs-block-toc cnvs-block-toc-1761935855608\" >\n\t<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-is-the-wordpress-memory-limit\"><span id=\"what-is-the-wordpress-memory-limit\">What Is the WordPress Memory Limit?<\/span><\/h2>\n\n\n\n<p><strong>The <strong>WordPress memory limit determines how much processing power WordPress can use to handle your site\u2019s functions<\/strong>.<\/strong> Every time you open a page, upload a file, or run a plugin, your site consumes a portion of this memory.<\/p>\n\n\n\n<p>When your site\u2019s memory usage goes beyond this limit, it struggles to complete certain actions, which often leads to the \u201cAllowed memory size exhausted\u201d error. This usually happens when you install new plugins, upload large images, or perform tasks that demand more resources than your current memory allocation allows.<\/p>\n\n\n\n<div class=\"wp-block-cover\" style=\"min-height:177px;aspect-ratio:unset;\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" class=\"wp-block-cover__image-background wp-image-5577\" alt=\"\" src=\"http:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template-1024x538.png\" data-object-fit=\"cover\" srcset=\"https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template-1024x538.png 1024w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template-300x158.png 300w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template-768x403.png 768w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template-380x200.png 380w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template-550x289.png 550w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template-800x420.png 800w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template-1160x609.png 1160w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"><\/span><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<h3 class=\"wp-block-heading has-text-align-center\" id=\"h-ready-for-a-faster-wordpress-site\"><span id=\"ready-for-a-faster-wordpress-site\">Ready for a Faster WordPress Site?<\/span><\/h3>\n\n\n\n<p class=\"has-text-align-center\">Experience optimized WordPress hosting with higher PHP memory, faster response times, and solid reliability.<\/p>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-16018d1d wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-background has-text-align-center wp-element-button\" href=\"https:\/\/hostonce.com\/wordpress-hosting\" style=\"background-color:#0da438\" target=\"_blank\" rel=\"noreferrer noopener\">Buy WordPress Hosting<\/a><\/div>\n<\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-why-your-wordpress-website-needs-a-higher-php-memory-limit\"><span id=\"why-your-wordpress-website-needs-a-higher-php-memory-limit\">Why your WordPress Website Needs a Higher PHP Memory Limit<\/span><\/h2>\n\n\n\n<p>As you add more plugins and themes to your WordPress website, you need a higher <a href=\"https:\/\/hostonce.com\/blog\/php-new-features-for-better-performance\/\" target=\"_blank\" rel=\"noreferrer noopener\">PHP<\/a> memory limit or the site would begin to <strong>have slow loading times, freeze or display the \u201cAllowed memory size exhausted\u201d error.<\/strong><\/p>\n\n\n\n<p><strong>Every tool you add to your website increases the workload on your server.<\/strong> Some tools such as visual page builders, advanced SEO tools, and <a href=\"https:\/\/hostonce.com\/blog\/12-best-seo-plugins-to-simplify-online-shopping\/\" target=\"_blank\" rel=\"noreferrer noopener\">eCommerce plugins<\/a>, consume more memory than others. Large image files, videos, and animations can also push your site beyond its available memory.<\/p>\n\n\n\n<p><strong>Increasing the<\/strong> <strong>WordPress memory limit<\/strong> helps your content to load correctly, keeps your admin dashboard responsive, and avoids other memory related errors. In short, a higher memory limit gives you WordPress site <a href=\"https:\/\/hostonce.com\/blog\/hostonce-website-uptime\/\" target=\"_blank\" rel=\"noreferrer noopener\">consistent uptime<\/a> such that it runs efficiently and reliably.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-increase-wordpress-memory-limit\"><span id=\"how-to-increase-wordpress-memory-limit\">How to Increase WordPress Memory Limit<\/span><\/h2>\n\n\n\n<p>The most common approach to increasing your WordPress memory limit is to edit your website files manually using an FTP client or the File Manager in your hosting control panel. Another option is to contact your <a href=\"https:\/\/hostonce.com\/blog\/best-web-hosting-providers\/\" target=\"_blank\" rel=\"noreferrer noopener\">hosting provider<\/a> and request a higher limit. When editing manually, you have to take extra care to avoid errors that could break your website. <strong>The steps below shows you how you can safely increase your WordPress memory limit and if followed correctly, there would be no harm to your website.<\/strong><\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-method-1-edit-the-wp-config-php-file\"><span id=\"method-1-edit-the-wp-config-php-file\">Method 1: Edit the wp-config.php File<\/span><\/h4>\n\n\n\n<p>The wp-config.php file contains important WordPress configuration settings for your website. By adding a single line of code to this file, you can increase your memory limit to the desired range. You can access it directly through your hosting File Manager or by using an <strong>FTP client<\/strong> (like FileZilla) if you prefer to connect to your site\u2019s files remotely.<\/p>\n\n\n\n<p>Follow these steps to increase the PHP memory limit on WordPress by editing the wp-config.php file:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Access Your Website Files<\/strong> <strong>on your File manager<\/strong>\n<ul class=\"wp-block-list\">\n<li>Log in to your <a href=\"https:\/\/hostonce.com\/blog\/what-is-web-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">web hosting<\/a> admin dashboard and open the <strong>File Manager<\/strong>, or connect to your site using an <strong>FTP client<\/strong>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Find the wp-config.php File<\/strong>\n<ul class=\"wp-block-list\">\n<li>In the WP file manager folder, look for a file called <strong>wp-config.php<\/strong>.<\/li>\n\n\n\n<li>Right-click it and select <strong>Editor<\/strong> or <strong>View\/Edit<\/strong>, depending on your hosting control panel or FTP software.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"803\" height=\"501\" src=\"http:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/10\/wp-config-php-from-file-manager.png\" alt=\"wp-config-php from file manager\" class=\"wp-image-12157\" srcset=\"https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/10\/wp-config-php-from-file-manager.png 803w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/10\/wp-config-php-from-file-manager-300x187.png 300w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/10\/wp-config-php-from-file-manager-768x479.png 768w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/10\/wp-config-php-from-file-manager-380x237.png 380w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/10\/wp-config-php-from-file-manager-550x343.png 550w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/10\/wp-config-php-from-file-manager-800x499.png 800w\" sizes=\"auto, (max-width: 803px) 100vw, 803px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Add the Memory Limit Line<\/strong>\n<ul class=\"wp-block-list\">\n<li>Inside the file, scroll down until you see the line that says: \/<code>* That's all, stop editing! Happy publishing. *\/<\/code><\/li>\n\n\n\n<li>Just <strong>above<\/strong> that line, insert the following code: <code>define('WP_MEMORY_LIMIT', '256M');<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"688\" height=\"496\" src=\"http:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/10\/wp-config-php-editing.png\" alt=\"wp-config-php editing\" class=\"wp-image-12158\" srcset=\"https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/10\/wp-config-php-editing.png 688w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/10\/wp-config-php-editing-300x216.png 300w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/10\/wp-config-php-editing-380x274.png 380w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/10\/wp-config-php-editing-550x397.png 550w\" sizes=\"auto, (max-width: 688px) 100vw, 688px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Save and Close the File<\/strong>\n<ul class=\"wp-block-list\">\n<li>Once you\u2019ve added the line, save the changes.<\/li>\n\n\n\n<li>If you\u2019re using an FTP client, it may ask to upload the modified file back to the server \u2014 click <strong>Yes<\/strong> or <strong>OK<\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Go back to your WordPress dashboard and refresh the page.<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-group is-style-cnvs-block-bg-inverse has-green-background-color has-background\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h4 class=\"wp-block-heading has-text-align-left\" id=\"h-expert-tip\"><span id=\"expert-tip\">Expert Tip<\/span><\/h4>\n\n\n\n<p class=\"has-text-align-left has-white-color has-text-color has-link-color has-small-font-size wp-elements-8cd5accd6212aa4d5d693931ffbf8de3\">While increasing your memory limit can solve immediate issues, long-term stability depends on optimization. Keep your plugins and themes lean, use caching tools to lighten the server\u2019s workload, and always run the latest PHP version for better performance and efficiency. Regular monitoring of your server usage helps you detect growing problems early and maintain a fast, reliable WordPress site.<\/p>\n\n\n\n<div class=\"wp-block-columns author-gap cnvs-block-core-columns-1757844157428 is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column cnvs-block-core-column-1757844161005 is-layout-flow wp-block-column-is-layout-flow\" style=\"padding-top:0;padding-bottom:0;flex-basis:17%\"><div class=\"expert-tip-avatar wp-block-avatar\"><img alt='MuhammadUsama Avatar' src='https:\/\/secure.gravatar.com\/avatar\/2233bea03ddde5bdda08f04539b626904ff6134cc95303b0cf657627aa34ccc4?s=90&#038;d=mm&#038;r=g' srcset='https:\/\/secure.gravatar.com\/avatar\/2233bea03ddde5bdda08f04539b626904ff6134cc95303b0cf657627aa34ccc4?s=180&#038;d=mm&#038;r=g 2x' class='avatar avatar-90 photo wp-block-avatar__image' height='90' width='90' \/><\/div><\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-top author-head is-layout-flow wp-block-column-is-layout-flow\" style=\"padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);flex-basis:83%\">\n<h5 class=\"wp-block-heading has-white-color has-text-color has-link-color cnvs-block-core-heading-1757957953275 wp-elements-918aba7ce61f406e4d5d8af19e3b0ce9\" id=\"h-muhammad-usama\"><span id=\"muhammad-usama\">Muhammad Usama<\/span><\/h5>\n\n\n\n<p class=\"has-text-align-left has-white-color has-text-color has-link-color has-small-font-size cnvs-block-core-paragraph-1757845647806 wp-elements-61c75346091fe3db132613afb4954d46\">WordPress Manager<\/p>\n<\/div>\n<\/div>\n<\/div><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-method-2-edit-the-htaccess-file\"><span id=\"method-2-edit-the-htaccess-file\">Method 2: Edit the .htaccess File<\/span><\/h4>\n\n\n\n<p>Before editing the .htaccess file,<strong> create a backup copy<\/strong> because a small mistake in the .htaccess file can break your site.<\/p>\n\n\n\n<p>Follow these steps to increase the PHP memory limit on WordPress by editing the.htaccess file:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Access the .htaccess File<\/strong>\n<ul class=\"wp-block-list\">\n<li>Log in to your admin dashboard and open the <strong>File Manager<\/strong>, or connect to your website using an <strong>FTP client<\/strong> like FileZilla.<\/li>\n\n\n\n<li>Locate the <strong>.htaccess<\/strong> file. If you don\u2019t see it, check your settings to ensure that hidden files are visible.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"810\" height=\"506\" src=\"http:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/10\/htaccess-from-wpfile-manager.png\" alt=\".htaccess from wpfile manager\" class=\"wp-image-12166\" srcset=\"https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/10\/htaccess-from-wpfile-manager.png 810w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/10\/htaccess-from-wpfile-manager-300x187.png 300w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/10\/htaccess-from-wpfile-manager-768x480.png 768w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/10\/htaccess-from-wpfile-manager-380x237.png 380w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/10\/htaccess-from-wpfile-manager-550x344.png 550w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/10\/htaccess-from-wpfile-manager-800x500.png 800w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Open and Edit the File<\/strong>\n<ul class=\"wp-block-list\">\n<li>Right-click on the .htaccess file and select <strong>Edit<\/strong>. If you do not find the edit option, download the file and open it on your notepad.<\/li>\n\n\n\n<li>Add the following line: <code>php_value memory_limit 256M<\/code> at the end of the file. Below the line #END WordPress.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"638\" height=\"389\" src=\"http:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/11\/htaccess-edit-via-WP-file-manager.png\" alt=\".htaccess edit via WP file manager\" class=\"wp-image-12213\" srcset=\"https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/11\/htaccess-edit-via-WP-file-manager.png 638w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/11\/htaccess-edit-via-WP-file-manager-300x183.png 300w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/11\/htaccess-edit-via-WP-file-manager-380x232.png 380w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/11\/htaccess-edit-via-WP-file-manager-550x335.png 550w\" sizes=\"auto, (max-width: 638px) 100vw, 638px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Save and Upload the File<\/strong>\n<ul class=\"wp-block-list\">\n<li>Save your changes and close the editor.<\/li>\n\n\n\n<li>If you\u2019re using FTP or you made the edit on your notepad, upload the updated file back to your server, replacing the old version.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Check if the Change Worked<\/strong>\n<ul class=\"wp-block-list\">\n<li>Visit your WordPress dashboard or refresh the page that previously showed the memory error.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-cover\" style=\"min-height:177px;aspect-ratio:unset;\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" class=\"wp-block-cover__image-background wp-image-5577\" alt=\"\" src=\"http:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template-1024x538.png\" data-object-fit=\"cover\" srcset=\"https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template-1024x538.png 1024w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template-300x158.png 300w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template-768x403.png 768w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template-380x200.png 380w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template-550x289.png 550w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template-800x420.png 800w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template-1160x609.png 1160w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"><\/span><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<h3 class=\"wp-block-heading has-text-align-center\" id=\"h-reliable-hosting-starts-with-hostonce\"><span id=\"reliable-hosting-starts-with-hostonce\"><strong>Reliable Hosting Starts with Hostonce<\/strong><\/span><\/h3>\n\n\n\n<p class=\"has-text-align-center\">Choose Hostonce and enjoy performance-focused WordPress hosting designed to handle any workload.<\/p>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-16018d1d wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-background has-text-align-center wp-element-button\" href=\"https:\/\/hostonce.com\/\" style=\"background-color:#0da438\" target=\"_blank\" rel=\"noreferrer noopener\">Buy Hostonce Hosting<\/a><\/div>\n<\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-check-and-troubleshoot-your-wordpress-memory-limit-increase\"><span id=\"how-to-check-and-troubleshoot-your-wordpress-memory-limit-increase\">How to Check and Troubleshoot Your WordPress Memory Limit Increase<\/span><\/h2>\n\n\n\n<p>After applying any of the methods above, it is important for you to confirm that your <strong>WordPress memory limit increase<\/strong> worked. This ensures that your site is actually using the new value instead of the default one.<\/p>\n\n\n\n<p><strong>To check your current memory limit:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list is-style-cnvs-list-styled-positive\">\n<li>Log in to your WordPress dashboard.<\/li>\n\n\n\n<li>Go to <strong>Tools \u2192 Site Health \u2192 Info \u2192 Server<\/strong>.<\/li>\n\n\n\n<li>Look for the line that says <strong>PHP memory limit<\/strong>. This shows the amount of memory currently allocated to your site.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"932\" height=\"506\" src=\"http:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/11\/PHP-memory-limit-check.png\" alt=\"PHP memory limit check\" class=\"wp-image-12218\" srcset=\"https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/11\/PHP-memory-limit-check.png 932w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/11\/PHP-memory-limit-check-300x163.png 300w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/11\/PHP-memory-limit-check-768x417.png 768w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/11\/PHP-memory-limit-check-380x206.png 380w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/11\/PHP-memory-limit-check-550x299.png 550w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/11\/PHP-memory-limit-check-800x434.png 800w\" sizes=\"auto, (max-width: 932px) 100vw, 932px\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 id=\"troubleshooting-tips\" class=\"wp-block-heading\">Troubleshooting Tips<\/h3>\n\n\n\n<p>If your <strong>WP memory limit increase<\/strong> didn\u2019t work, there are a few possible causes:<\/p>\n\n\n\n<ol class=\"wp-block-list is-style-cnvs-list-styled-positive\">\n<li><strong>Syntax errors:<\/strong> A missing semicolon or incorrect placement of a code line in files like <code>wp-config.php<\/code> or <code>.htaccess<\/code> can cause the change to fail. Double-check your edits for accuracy.<\/li>\n\n\n\n<li><strong>Caching issues:<\/strong> Browser or <a href=\"https:\/\/hostonce.com\/blog\/what-is-web-caching\/\" target=\"_blank\" rel=\"noreferrer noopener\">web caches<\/a> might prevent your site from reflecting the latest configuration. Clear all caches and try again.<\/li>\n\n\n\n<li><strong>Hosting restrictions:<\/strong> Some hosting providers do not allow users increase memory limits manually. In this case, you need to contact your host to request a higher PHP memory limit. If they don\u2019t allow it, consider switching to a hosting provider that offers more flexibility and better resource allocation.<\/li>\n<\/ol>\n\n\n\n<p>Increasing your <strong>PHP memory limit in WordPress<\/strong> should now give your site the space it needs to run smoothly \u2014 but always remember that server-level settings may ultimately depend on your hosting plan and provider.<\/p>\n\n\n\n<div class=\"wp-block-cover\" style=\"min-height:177px;aspect-ratio:unset;\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" class=\"wp-block-cover__image-background wp-image-5577\" alt=\"\" src=\"http:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template-1024x538.png\" data-object-fit=\"cover\" srcset=\"https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template-1024x538.png 1024w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template-300x158.png 300w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template-768x403.png 768w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template-380x200.png 380w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template-550x289.png 550w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template-800x420.png 800w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template-1160x609.png 1160w, https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/06\/Hostonce-Banner-1200-630-template.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"><\/span><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<h3 class=\"wp-block-heading has-text-align-center\" id=\"h-don-t-let-poor-hosting-drag-down-your-website\"><span id=\"dont-let-poor-hosting-drag-down-your-website\">Don\u2019t let poor hosting drag down your website<\/span><\/h3>\n\n\n\n<p class=\"has-text-align-center\">Stop struggling with limits and slow performance. Switch to Hostonce for more memory, speed, and control.<\/p>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-16018d1d wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-background has-text-align-center wp-element-button\" href=\"https:\/\/hostonce.com\/free-website-migration\" style=\"background-color:#0da438\" target=\"_blank\" rel=\"noreferrer noopener\">Migrate to Hostonce<\/a><\/div>\n<\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-conclusion\"><span id=\"conclusion\">Conclusion<\/span><\/h2>\n\n\n\n<p>Higher WordPress limits ensures proper website functionality. If the limit is too low, your site performs slowly and experiences more downtime. Increasing it through methods like editing <strong>wp-config.php<\/strong>, or adjusting <strong>.htaccess<\/strong> gives your site the extra space it needs to perform better.<\/p>\n\n\n\n<p>Also, proper management of your tools, themes, and hosting environment is important. To keep your site working efficiently, update plugins, remove unused themes, and regularly monitor your hosting resources. By doing these, you can keep your site fast, stable, and ready for any function you need to carry out.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-faqs\"><span id=\"faqs\">FAQs<\/span><\/h2>\n\n\n<style>#sp-ea-12219 .spcollapsing { height: 0; overflow: hidden; transition-property: height;transition-duration: 300ms;}#sp-ea-12219.sp-easy-accordion>.sp-ea-single {margin-bottom: 10px; border: 1px solid #e2e2e2; }#sp-ea-12219.sp-easy-accordion>.sp-ea-single>.ea-header a {color: #444;}#sp-ea-12219.sp-easy-accordion>.sp-ea-single>.sp-collapse>.ea-body {background: #fff; color: #444;}#sp-ea-12219.sp-easy-accordion>.sp-ea-single {background: #eee;}#sp-ea-12219.sp-easy-accordion>.sp-ea-single>.ea-header a .ea-expand-icon { float: left; color: #444;font-size: 16px;}.sp-easy-accordion>.sp-ea-single{\r\nbackground-color:#ffffff!important;\r\n}<\/style><div id=\"sp_easy_accordion-1761981713\"><div id=\"sp-ea-12219\" class=\"sp-ea-one sp-easy-accordion\" data-ea-active=\"ea-click\" data-ea-mode=\"vertical\" data-preloader=\"\" data-scroll-active-item=\"\" data-offset-to-scroll=\"0\"><div class=\"ea-card ea-expand sp-ea-single\"><h3 id=\"how-do-i-know-what-my-current-php-memory-limit-is-in-wordpress\" class=\"ea-header\"><a class=\"collapsed\" id=\"ea-header-122190\" role=\"button\" data-sptoggle=\"spcollapse\" data-sptarget=\"#collapse122190\" aria-controls=\"collapse122190\" href=\"#\" aria-expanded=\"true\" tabindex=\"0\"><i aria-hidden=\"true\" role=\"presentation\" class=\"ea-expand-icon eap-icon-ea-expand-minus\"><\/i> How do I know what my current PHP memory limit is in WordPress?<\/a><\/h3><div class=\"sp-collapse spcollapse collapsed show\" id=\"collapse122190\" data-parent=\"#sp-ea-12219\" role=\"region\" aria-labelledby=\"ea-header-122190\"> <div class=\"ea-body\"><p>You can check your current memory limit directly from your WordPress dashboard. Go to <strong data-start=\"424\" data-end=\"463\">Tools \u2192 Site Health \u2192 Info \u2192 Server<\/strong>, and look for the <strong data-start=\"482\" data-end=\"502\">PHP memory limit<\/strong> line. This shows the amount of memory your website can currently use. Alternatively, you can create a simple PHP info file to view this value directly from your server.<\/p><\/div><\/div><\/div><div class=\"ea-card sp-ea-single\"><h3 id=\"what-happens-if-i-increase-the-memory-limit-but-still-get-the-allowed-memory-size-exhausted-error\" class=\"ea-header\"><a class=\"collapsed\" id=\"ea-header-122191\" role=\"button\" data-sptoggle=\"spcollapse\" data-sptarget=\"#collapse122191\" aria-controls=\"collapse122191\" href=\"#\" aria-expanded=\"false\" tabindex=\"0\"><i aria-hidden=\"true\" role=\"presentation\" class=\"ea-expand-icon eap-icon-ea-expand-plus\"><\/i> What happens if I increase the memory limit but still get the \u201cAllowed memory size exhausted\u201d error?<\/a><\/h3><div class=\"sp-collapse spcollapse \" id=\"collapse122191\" data-parent=\"#sp-ea-12219\" role=\"region\" aria-labelledby=\"ea-header-122191\"> <div class=\"ea-body\"><p>If the error persists, it likely means your hosting provider has a maximum limit that overrides your local changes. Some hosts restrict how much memory can be allocated to PHP processes for performance and security reasons. In that case, you\u2019ll need to contact your hosting provider to request a higher limit.<\/p><\/div><\/div><\/div><div class=\"ea-card sp-ea-single\"><h3 id=\"is-it-safe-to-increase-the-wordpress-memory-limit-to-a-high-value-like-512m-or-1024m\" class=\"ea-header\"><a class=\"collapsed\" id=\"ea-header-122192\" role=\"button\" data-sptoggle=\"spcollapse\" data-sptarget=\"#collapse122192\" aria-controls=\"collapse122192\" href=\"#\" aria-expanded=\"false\" tabindex=\"0\"><i aria-hidden=\"true\" role=\"presentation\" class=\"ea-expand-icon eap-icon-ea-expand-plus\"><\/i> Is it safe to increase the WordPress memory limit to a high value like 512M or 1024M?<\/a><\/h3><div class=\"sp-collapse spcollapse \" id=\"collapse122192\" data-parent=\"#sp-ea-12219\" role=\"region\" aria-labelledby=\"ea-header-122192\"> <div class=\"ea-body\"><p>You can safely increase the limit as long as your server has enough resources to support it. However, setting it unnecessarily high won\u2019t improve performance and could lead to instability if your hosting plan doesn\u2019t provide that much memory. For most websites, a limit between 128M and 256M is sufficient.<\/p><\/div><\/div><\/div><div class=\"ea-card sp-ea-single\"><h3 id=\"can-i-increase-the-wordpress-memory-limit-on-shared-hosting\" class=\"ea-header\"><a class=\"collapsed\" id=\"ea-header-122193\" role=\"button\" data-sptoggle=\"spcollapse\" data-sptarget=\"#collapse122193\" aria-controls=\"collapse122193\" href=\"#\" aria-expanded=\"false\" tabindex=\"0\"><i aria-hidden=\"true\" role=\"presentation\" class=\"ea-expand-icon eap-icon-ea-expand-plus\"><\/i> Can I increase the WordPress memory limit on shared hosting?<\/a><\/h3><div class=\"sp-collapse spcollapse \" id=\"collapse122193\" data-parent=\"#sp-ea-12219\" role=\"region\" aria-labelledby=\"ea-header-122193\"> <div class=\"ea-body\"><p>Yes, but within the limits of your hosting plan. Shared hosting often has a lower maximum PHP memory allocation, and even if you edit files like <code data-start=\"1722\" data-end=\"1737\">wp-config.php<\/code> or <code data-start=\"1741\" data-end=\"1752\">.htaccess<\/code>, the host may enforce a cap. If you need more memory for plugins or high-traffic sites, upgrading to a VPS or cloud hosting plan is usually the best solution.<\/p><\/div><\/div><\/div><div class=\"ea-card sp-ea-single\"><h3 id=\"do-i-need-to-change-my-hosting-provider-if-i-cant-increase-the-memory-limit\" class=\"ea-header\"><a class=\"collapsed\" id=\"ea-header-122194\" role=\"button\" data-sptoggle=\"spcollapse\" data-sptarget=\"#collapse122194\" aria-controls=\"collapse122194\" href=\"#\" aria-expanded=\"false\" tabindex=\"0\"><i aria-hidden=\"true\" role=\"presentation\" class=\"ea-expand-icon eap-icon-ea-expand-plus\"><\/i> Do I need to change my hosting provider if I can\u2019t increase the memory limit?<\/a><\/h3><div class=\"sp-collapse spcollapse \" id=\"collapse122194\" data-parent=\"#sp-ea-12219\" role=\"region\" aria-labelledby=\"ea-header-122194\"> <div class=\"ea-body\"><p>Not always, but it can become necessary. If your current host restricts PHP memory and doesn\u2019t allow higher allocations\u2014even after support requests\u2014you may have outgrown their plan. Switching to a provider that offers more control over server settings ensures better performance and scalability for your site.<\/p><\/div><\/div><\/div><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"Did you know that most WordPress websites have a PHP memory limit of only 40 MB? While smaller&hellip;\n","protected":false},"author":16,"featured_media":15985,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_singular_sidebar":"","csco_page_header_type":"","csco_appearance_masonry":"","csco_page_load_nextpost":"","csco_post_video_location":[],"csco_post_video_location_hash":"","csco_post_video_url":"","csco_post_video_bg_start_time":0,"csco_post_video_bg_end_time":0,"footnotes":""},"categories":[109],"tags":[],"class_list":{"0":"post-12114","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-wordpress-websites","8":"cs-entry","9":"cs-video-wrap"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.3 (Yoast SEO v26.3) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Increase WordPress PHP Memory Limit (2 Easy Steps)<\/title>\n<meta name=\"description\" content=\"Learn how to increase your WordPress PHP memory limit safely and keep your website running smoothly without errors or downtime.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hostonce.com\/blog\/wordpress-memory-limit-fixing-and-increasing-php-memory\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WordPress memory limit: fixing and increasing PHP memory\" \/>\n<meta property=\"og:description\" content=\"Learn how to increase your WordPress PHP memory limit safely and keep your website running smoothly without errors or downtime.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hostonce.com\/blog\/wordpress-memory-limit-fixing-and-increasing-php-memory\/\" \/>\n<meta property=\"og:site_name\" content=\"Hostonce Blog | Tools &amp; Resources To Enhance Your Website\" \/>\n<meta property=\"article:author\" content=\"https:\/\/web.facebook.com\/profile.php?id=61578027974450\" \/>\n<meta property=\"article:published_time\" content=\"2026-04-01T11:06:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-08T14:40:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/11\/Abo-WordPress-memory-limit_-fixing-and-increasing-PHP-memory.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1080\" \/>\n\t<meta property=\"og:image:height\" content=\"609\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Favour Brown\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Favour Brown\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hostonce.com\/blog\/wordpress-memory-limit-fixing-and-increasing-php-memory\/\",\"url\":\"https:\/\/hostonce.com\/blog\/wordpress-memory-limit-fixing-and-increasing-php-memory\/\",\"name\":\"How to Increase WordPress PHP Memory Limit (2 Easy Steps)\",\"isPartOf\":{\"@id\":\"https:\/\/hostonce.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/hostonce.com\/blog\/wordpress-memory-limit-fixing-and-increasing-php-memory\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/hostonce.com\/blog\/wordpress-memory-limit-fixing-and-increasing-php-memory\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/11\/Abo-WordPress-memory-limit_-fixing-and-increasing-PHP-memory.jpg\",\"datePublished\":\"2026-04-01T11:06:56+00:00\",\"dateModified\":\"2026-04-08T14:40:39+00:00\",\"author\":{\"@id\":\"https:\/\/hostonce.com\/blog\/#\/schema\/person\/a19cfc1a771e78a2498a95a9cc89f145\"},\"description\":\"Learn how to increase your WordPress PHP memory limit safely and keep your website running smoothly without errors or downtime.\",\"breadcrumb\":{\"@id\":\"https:\/\/hostonce.com\/blog\/wordpress-memory-limit-fixing-and-increasing-php-memory\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hostonce.com\/blog\/wordpress-memory-limit-fixing-and-increasing-php-memory\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hostonce.com\/blog\/wordpress-memory-limit-fixing-and-increasing-php-memory\/#primaryimage\",\"url\":\"https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/11\/Abo-WordPress-memory-limit_-fixing-and-increasing-PHP-memory.jpg\",\"contentUrl\":\"https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/11\/Abo-WordPress-memory-limit_-fixing-and-increasing-PHP-memory.jpg\",\"width\":1080,\"height\":609,\"caption\":\"WordPress Memory limit, fixing and increasing PHP memory\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hostonce.com\/blog\/wordpress-memory-limit-fixing-and-increasing-php-memory\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/hostonce.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WordPress memory limit: fixing and increasing PHP memory\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hostonce.com\/blog\/#website\",\"url\":\"https:\/\/hostonce.com\/blog\/\",\"name\":\"Hostonce Blog | Tools &amp; Resources To Enhance Your Website\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hostonce.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/hostonce.com\/blog\/#\/schema\/person\/a19cfc1a771e78a2498a95a9cc89f145\",\"name\":\"Favour Brown\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hostonce.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/101bb9c56ed3aaf7b8b0c951657535ac518f7399ec7a9008693707f96665e0e3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/101bb9c56ed3aaf7b8b0c951657535ac518f7399ec7a9008693707f96665e0e3?s=96&d=mm&r=g\",\"caption\":\"Favour Brown\"},\"description\":\"Favour is a versatile writer and brand storyteller who crafts SEO-friendly, customer-focused digital content. Her writing ranges from blog posts and social media copy to business pieces like grants and proposals. When she\u2019s not working on technical projects, you\u2019ll likely find her writing or reading short stories and other creative pieces.\",\"sameAs\":[\"https:\/\/web.facebook.com\/profile.php?id=61578027974450\",\"https:\/\/www.instagram.com\/evioghenebrown\/\",\"www.linkedin.com\/in\/favourevioghenebrown\"],\"url\":\"https:\/\/hostonce.com\/blog\/author\/evioghene\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Increase WordPress PHP Memory Limit (2 Easy Steps)","description":"Learn how to increase your WordPress PHP memory limit safely and keep your website running smoothly without errors or downtime.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hostonce.com\/blog\/wordpress-memory-limit-fixing-and-increasing-php-memory\/","og_locale":"en_US","og_type":"article","og_title":"WordPress memory limit: fixing and increasing PHP memory","og_description":"Learn how to increase your WordPress PHP memory limit safely and keep your website running smoothly without errors or downtime.","og_url":"https:\/\/hostonce.com\/blog\/wordpress-memory-limit-fixing-and-increasing-php-memory\/","og_site_name":"Hostonce Blog | Tools &amp; Resources To Enhance Your Website","article_author":"https:\/\/web.facebook.com\/profile.php?id=61578027974450","article_published_time":"2026-04-01T11:06:56+00:00","article_modified_time":"2026-04-08T14:40:39+00:00","og_image":[{"width":1080,"height":609,"url":"https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/11\/Abo-WordPress-memory-limit_-fixing-and-increasing-PHP-memory.jpg","type":"image\/jpeg"}],"author":"Favour Brown","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Favour Brown","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/hostonce.com\/blog\/wordpress-memory-limit-fixing-and-increasing-php-memory\/","url":"https:\/\/hostonce.com\/blog\/wordpress-memory-limit-fixing-and-increasing-php-memory\/","name":"How to Increase WordPress PHP Memory Limit (2 Easy Steps)","isPartOf":{"@id":"https:\/\/hostonce.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hostonce.com\/blog\/wordpress-memory-limit-fixing-and-increasing-php-memory\/#primaryimage"},"image":{"@id":"https:\/\/hostonce.com\/blog\/wordpress-memory-limit-fixing-and-increasing-php-memory\/#primaryimage"},"thumbnailUrl":"https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/11\/Abo-WordPress-memory-limit_-fixing-and-increasing-PHP-memory.jpg","datePublished":"2026-04-01T11:06:56+00:00","dateModified":"2026-04-08T14:40:39+00:00","author":{"@id":"https:\/\/hostonce.com\/blog\/#\/schema\/person\/a19cfc1a771e78a2498a95a9cc89f145"},"description":"Learn how to increase your WordPress PHP memory limit safely and keep your website running smoothly without errors or downtime.","breadcrumb":{"@id":"https:\/\/hostonce.com\/blog\/wordpress-memory-limit-fixing-and-increasing-php-memory\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hostonce.com\/blog\/wordpress-memory-limit-fixing-and-increasing-php-memory\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostonce.com\/blog\/wordpress-memory-limit-fixing-and-increasing-php-memory\/#primaryimage","url":"https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/11\/Abo-WordPress-memory-limit_-fixing-and-increasing-PHP-memory.jpg","contentUrl":"https:\/\/hostonce.com\/blog\/wp-content\/uploads\/2025\/11\/Abo-WordPress-memory-limit_-fixing-and-increasing-PHP-memory.jpg","width":1080,"height":609,"caption":"WordPress Memory limit, fixing and increasing PHP memory"},{"@type":"BreadcrumbList","@id":"https:\/\/hostonce.com\/blog\/wordpress-memory-limit-fixing-and-increasing-php-memory\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hostonce.com\/blog\/"},{"@type":"ListItem","position":2,"name":"WordPress memory limit: fixing and increasing PHP memory"}]},{"@type":"WebSite","@id":"https:\/\/hostonce.com\/blog\/#website","url":"https:\/\/hostonce.com\/blog\/","name":"Hostonce Blog | Tools &amp; Resources To Enhance Your Website","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hostonce.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/hostonce.com\/blog\/#\/schema\/person\/a19cfc1a771e78a2498a95a9cc89f145","name":"Favour Brown","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostonce.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/101bb9c56ed3aaf7b8b0c951657535ac518f7399ec7a9008693707f96665e0e3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/101bb9c56ed3aaf7b8b0c951657535ac518f7399ec7a9008693707f96665e0e3?s=96&d=mm&r=g","caption":"Favour Brown"},"description":"Favour is a versatile writer and brand storyteller who crafts SEO-friendly, customer-focused digital content. Her writing ranges from blog posts and social media copy to business pieces like grants and proposals. When she\u2019s not working on technical projects, you\u2019ll likely find her writing or reading short stories and other creative pieces.","sameAs":["https:\/\/web.facebook.com\/profile.php?id=61578027974450","https:\/\/www.instagram.com\/evioghenebrown\/","www.linkedin.com\/in\/favourevioghenebrown"],"url":"https:\/\/hostonce.com\/blog\/author\/evioghene\/"}]}},"_links":{"self":[{"href":"https:\/\/hostonce.com\/blog\/wp-json\/wp\/v2\/posts\/12114","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostonce.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostonce.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostonce.com\/blog\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/hostonce.com\/blog\/wp-json\/wp\/v2\/comments?post=12114"}],"version-history":[{"count":18,"href":"https:\/\/hostonce.com\/blog\/wp-json\/wp\/v2\/posts\/12114\/revisions"}],"predecessor-version":[{"id":16053,"href":"https:\/\/hostonce.com\/blog\/wp-json\/wp\/v2\/posts\/12114\/revisions\/16053"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostonce.com\/blog\/wp-json\/wp\/v2\/media\/15985"}],"wp:attachment":[{"href":"https:\/\/hostonce.com\/blog\/wp-json\/wp\/v2\/media?parent=12114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostonce.com\/blog\/wp-json\/wp\/v2\/categories?post=12114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostonce.com\/blog\/wp-json\/wp\/v2\/tags?post=12114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}