cloudwafercloudwafer
  • Home
  • Knowledge Base
  • Products
    • Web Hosting
    • Dedicated Server
    • Domain
    • Cloud DNS
  • faqs
  • Client Area
  • Get Support
  • Home
  • Knowledge Base
  • Products
    • Web Hosting
    • Dedicated Server
    • Domain
    • Cloud DNS
  • faqs
  • Client Area
  • Get Support
home/Knowledge Base/others(cpanel)/Fix PHP Error: Allowed Memory Size of X Bytes Exhausted

Fix PHP Error: Allowed Memory Size of X Bytes Exhausted

44 views 0 September 19, 2016 Updated on November 7, 2022 cloudhelp

If you are getting an error such as “Allowed memory size of… in file /directory/folder/yourscript.php“, you can use an htaccess file to resolve this problem.

If the error does not go away even after applying the htaccess code, you should contact us. We will do our best to help you.

Place this code in the dot htaccess file of your primary domain. If the error persists after using the code, enter it in the directory where you are receiving the error, such as cloudwafer.com/blog/directory/folder/.htaccess.

Add this code to your htaccess file:

RLimitMem max

Was this helpful?

Yes  No
Related Articles
  • How to create NodeJS Application in cPanel
  • How to Redirect a Page or Website Using htaccess
  • How to Create a User-friendly URL Using htaccess

Didn't find your answer? Contact Us

Leave A Comment Cancel reply

Popular Articles
  • How to make payment
  • How to Edit an Account Level/Global Email Filter in cPanel
  • How to Install Vanilla Forum via Softaculous in SiteWorx
  • How to Install Pubvana via Softaculous in SiteWorx
  • How to Change the SolusVM Account Email Address
KB Category
  • Billing
  • Databases (da
  • General (Plesk
  • Softaculous (SiteWorx
  • Domain Management (Plesk
  • Backup/Restore (Plesk
  • Mail Filters & SPAM (DA
  • FileZilla FTP Client
  • others(cpanel
  • SSL
  • Backup/Restore
  • Wordpress
  • DNS – Nameservers
  • Cloudwafer Manager – Hosting
  • SolusVM Basic
  • Security (SiteWorx
  • CloudLinux (DirectAdmin
  • Domain Management
  • cPanel – Control Panel
  • Domain Management (DA
  • WHM
  • Forum(cpanel
  • Forum (SiteWorx
  • Blog (SiteWorx
  • Others (SiteWorx
  • Backup/Restore – SiteWorx
  • Virtualizor Basic
  • SolusVM VPS Management
  • CloudLinux (Plesk
  • Mozilla Thunderbird
  • Domain Management – SiteWorx
  • SiteWorx Basic
  • FTP (Plesk
  • Email (Plesk
  • Backup/Restore (DA
  • Email (DA
  • Email (SiteWorx
  • Virtualizor VPS Management
  • FTP (DA
  • CloudLinux (cPanel
  • DirectAdmin
  • PayPal
  • WHM (For Resellers
  • CMS/Portal (SiteWorx
  • Databases (Plesk
  • Post Features
  • FTP (SiteWorx
  • Databases
  • Installing a Control Panel
  • Android
  • Blog (cPanel
  • CMS/Portal
  • iOS/Apple
  • Outlook 2019
  • Cloudflare (cPanel
  • WHM (Root
  • FTP (cPanel
  • Security (cPanel
  • Softaculous
  • Mail Filters & SPAM – cPanel
  • Email (cPanel

  How to Redirect a Page or Website Using htaccess

How to create NodeJS Application in cPanel  

Company
  • About us
  • Client Area
Hosting Products
  • Web hosting
  • Dedicated Server
SUPPORT
  • Knowledge Base
  • Faqs
SOCIAL
  • Facebook
  • Twitter
  • Privacy Policy
  • Terms of Use
  • © 2022 CloudWafer. All rights reserved.