{"id":1261,"date":"2013-11-30T10:31:37","date_gmt":"2013-11-30T10:31:37","guid":{"rendered":"http:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=1261"},"modified":"2017-10-20T07:28:24","modified_gmt":"2017-10-20T07:28:24","slug":"php-fatal-error-memory-allocated-20185088","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/php-fatal-error-memory-allocated-20185088\/","title":{"rendered":"PHP Fatal error:  Out of memory (allocated 20185088)"},"content":{"rendered":"<p>After installing\/upgrading the WordPress the following error might occur:<\/p>\n<p>PHP Fatal error: Out of memory (allocated 20185088) (tried to allocate 12288 bytes) in<\/p>\n<p>\/home\/username\/public_html\/wp-content\/plugins\/wp-affiliateplatform\/wp_aff_includes_3rd_party_integration.php<\/p>\n<p>On line 300<\/p>\n<p>This error occurred as your account exceeded the allocated memory, to solve this issue you should increase the <strong>memory_limit<\/strong> for this account.<\/p>\n<p><strong>How Can I Increase It By Using SSH ?<\/strong><\/p>\n<p>Login to the server through SSH and then find the php.ini file on the server with the command mentioned below :<\/p>\n<p># php -i | grep php.ini<\/p>\n<p>\/usr\/lib\/php.ini<\/p>\n<p>This command helps you to find the location of php.ini file on server.\u00a0Open this file with your preferred editor.<\/p>\n<p># vi \/usr\/lib\/php.ini<\/p>\n<p><strong>:\/memory_limit<\/strong><\/p>\n<p>memory_limit=32M<\/p>\n<p>Increased it to 64 or as per your requirement and save the file with\u00a0: <strong>&#8216;wq&#8217;<\/strong><\/p>\n<p>Restart the httpd service.<\/p>\n<p>#\/etc\/init.d\/httpd restart<\/p>\n<p><strong>How to Increase PHP memory limit in WHM ?<\/strong><\/p>\n<p>Go to Service Configuration &gt;&gt; PHP Configuration Editor<\/p>\n<p>Change the value from 32M to 64M or 128M on memory_limit row.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After installing\/upgrading the WordPress the following error might occur: PHP Fatal error: Out of memory (allocated 20185088) (tried to allocate 12288 bytes) in \/home\/username\/public_html\/wp-content\/plugins\/wp-affiliateplatform\/wp_aff_includes_3rd_party_integration.php On line 300 This error occurred as your account exceeded the allocated memory, to solve this issue you should increase the memory_limit for this account. How Can I Increase It By [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36,4],"tags":[18,70],"class_list":["post-1261","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-cpanel-hosting-faq","category-web-hosting-faq","tag-php","tag-php-error"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PHP Fatal error: Out of memory (allocated 20185088)<\/title>\n<meta name=\"description\" content=\"Information on PHP Fatal error: Out of memory (allocated 20185088) and how to fix it if it occurs during WordPress installation or upgrade.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/php-fatal-error-memory-allocated-20185088\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PHP Fatal error: Out of memory (allocated 20185088)\" \/>\n<meta property=\"og:description\" content=\"Information on PHP Fatal error: Out of memory (allocated 20185088) and how to fix it if it occurs during WordPress installation or upgrade.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/php-fatal-error-memory-allocated-20185088\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2013-11-30T10:31:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-10-20T07:28:24+00:00\" \/>\n<meta name=\"author\" content=\"Dipak Bhoi\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dipak Bhoi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated 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:\/\/www.milesweb.co.uk\/hosting-faqs\/php-fatal-error-memory-allocated-20185088\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/php-fatal-error-memory-allocated-20185088\/\",\"name\":\"PHP Fatal error: Out of memory (allocated 20185088)\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"datePublished\":\"2013-11-30T10:31:37+00:00\",\"dateModified\":\"2017-10-20T07:28:24+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/399554d5dc4b893a5a45ced5deba71c9\"},\"description\":\"Information on PHP Fatal error: Out of memory (allocated 20185088) and how to fix it if it occurs during WordPress installation or upgrade.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/php-fatal-error-memory-allocated-20185088\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/php-fatal-error-memory-allocated-20185088\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/php-fatal-error-memory-allocated-20185088\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PHP Fatal error: Out of memory (allocated 20185088)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/399554d5dc4b893a5a45ced5deba71c9\",\"name\":\"Dipak Bhoi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d0b79af844b78f4c8d2668cdb7de27ec?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d0b79af844b78f4c8d2668cdb7de27ec?s=96&d=blank&r=g\",\"caption\":\"Dipak Bhoi\"},\"sameAs\":[\"http:\/\/www.milesweb.co.uk\"],\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/dipak-bhoi\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PHP Fatal error: Out of memory (allocated 20185088)","description":"Information on PHP Fatal error: Out of memory (allocated 20185088) and how to fix it if it occurs during WordPress installation or upgrade.","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:\/\/www.milesweb.co.uk\/hosting-faqs\/php-fatal-error-memory-allocated-20185088\/","og_locale":"en_GB","og_type":"article","og_title":"PHP Fatal error: Out of memory (allocated 20185088)","og_description":"Information on PHP Fatal error: Out of memory (allocated 20185088) and how to fix it if it occurs during WordPress installation or upgrade.","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/php-fatal-error-memory-allocated-20185088\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2013-11-30T10:31:37+00:00","article_modified_time":"2017-10-20T07:28:24+00:00","author":"Dipak Bhoi","twitter_misc":{"Written by":"Dipak Bhoi","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/php-fatal-error-memory-allocated-20185088\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/php-fatal-error-memory-allocated-20185088\/","name":"PHP Fatal error: Out of memory (allocated 20185088)","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"datePublished":"2013-11-30T10:31:37+00:00","dateModified":"2017-10-20T07:28:24+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/399554d5dc4b893a5a45ced5deba71c9"},"description":"Information on PHP Fatal error: Out of memory (allocated 20185088) and how to fix it if it occurs during WordPress installation or upgrade.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/php-fatal-error-memory-allocated-20185088\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/php-fatal-error-memory-allocated-20185088\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/php-fatal-error-memory-allocated-20185088\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"PHP Fatal error: Out of memory (allocated 20185088)"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/399554d5dc4b893a5a45ced5deba71c9","name":"Dipak Bhoi","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d0b79af844b78f4c8d2668cdb7de27ec?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d0b79af844b78f4c8d2668cdb7de27ec?s=96&d=blank&r=g","caption":"Dipak Bhoi"},"sameAs":["http:\/\/www.milesweb.co.uk"],"url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/dipak-bhoi\/"}]}},"views":2210,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1261","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=1261"}],"version-history":[{"count":8,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1261\/revisions"}],"predecessor-version":[{"id":3930,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1261\/revisions\/3930"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=1261"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=1261"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=1261"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}