Clouduxe Docs
HomeStatusSupport
  • Welcome
  • Getting Started
    • Why Choose Clouduxe?
    • Web Hosting Explained
    • VPS and Dedicated Servers
    • Order Your Server
    • How Long does it take to set up my Account?
    • Content Restrictions and DMCA Compliance
    • Banned Countries
    • Account Closure
  • cPanel - Control Panel
    • How to Reset Your cPanel Account Password
    • How to Upload Files via the cPanel File Manager
    • How to Edit a File in the cPanel File Manager
    • How to Edit .htaccess File in the cPanel File Manager
    • How to Check Disk Usage and Bandwidth Usage in cPanel
    • How to Create a Cron Job in cPanel
    • How to Edit or Delete a Cronjob in cPanel
    • How to Update a Cron Job Email Address in cPanel
    • How to Change the PHP Version for Your Domain in cPanel
    • How to Reset the PHP Version to the Default Version in cPanel
    • How to Set the PHP Version per Domain in cPanel
    • How to Set the PHP Version per Directory in cPanel
    • How to Add "A Record" in cPanel
    • How to Add an MX Record in cPanel
    • How to Edit or Remove an MX Record in cPanel
    • How to Add a CNAME Record in cPanel
    • How to Edit or Remove a CNAME Record in cPanel
    • How to Edit or Remove a Record in cPanel
    • How to Create an Additional Web Disk Account in cPanel
    • How to Access cPanel Web Disk
    • Your Hosting Account Has Been Compromised
  • WordPress
    • How to Access the WordPress Admin Dashboard
    • How to Remove Sample Comments and Posts From WordPress
    • How to Write and Publish Your First Blog Post in WordPress
    • How to Remove a Post in WordPress
    • How to Bulk Delete Posts in WordPress
    • How to Add a New Category in WordPress
    • How to Delete an Uncategorized Category in WordPress
    • How to Delete Categories in WordPress
    • How to Install a New WordPress Theme
    • How to Install a WordPress Theme Manually
    • How to Delete a WordPress Theme
    • How to Install a WordPress Plugin
    • How to Manually Install a WordPress Plugin
    • How to Deactivate and Delete a WordPress Plugin
    • How to Forcefully Update or Reinstall a WordPress Plugin
    • How to Change the Password of a WordPress Account
    • How to Change the WordPress User's Display Name
    • How to Debug WordPress® with cPanel and WordPress Toolkit?
    • How to Create a WordPress Staging Site with cPanel
    • How to Increase WordPress Memory Limit
  • SSL
    • How to Generate a Certificate Signing Request - CSR in cPanel
    • How to Retrieve a CSR from cPanel
    • How to Remove a CSR Code in cPanel
    • How to Install an SSL on Your Domain Using AutoSSL in cPanel
    • How to Include or Exclude a Domain from AutoSSL in cPanel
    • How to Force SSL
  • Databases
    • How to Create a Database in cPanel
    • How to Rename a Database in cPanel
    • How to Delete a Database in cPanel
    • How to Create a Database Username in cPanel
    • How to Add a User to a Database and Grant Privileges
    • How to Import a Database via phpMyAdmin in cPanel
    • How to Export Database Table via phpMyAdmin in cPanel
    • How to Edit a Database Table via phpMyAdmin in cPanel
    • How to Delete a Database Table via phpMyAdmin in cPanel
    • How to Optimize a Database via phpMyAdmin in cPanel
    • How to Repair a Database via phpMyAdmin in cPanel
  • Managing Domains
    • Addon Domain
    • DNS Propagation Time
    • Running Multiple Websites
    • Subdomains
    • Aliases vs. Redirects: Which One Should You Use?
    • How to Edit Your DNS Records with Clouduxe
    • How to Forward a Domain
    • Do We Support Wildcard Subdomains?
    • Can I Add Addon Domains Without Changing DNS?
    • What Nameservers Should I Use for an Addon Domain?
    • How to Remove an Addon Domain
  • Emails
    • Email Overview
    • Creating An Email Account on Your cPanel Hosting
    • Email Forwarding in cPanel
    • Creating An Email Account on cPanel
    • How to Delete an Email Account in cPanel
    • Using Gmail with your Clouduxe Web Hosting
    • Setting up Google MX Records from your cPanel
    • Configuring an Email Client
    • How to Change your Webmail Password in cPanel
    • Configuring Autoresponder for Your Email Account
    • Outlook 365 Auto Archive Setup
    • Spam Filtering Customization
    • How to Transfer IMAP Emails Using an IMAP Transfer Tool
    • How Folder Subscription Works
    • Email Troubleshooting Guide
    • Why Does My Mailbox Get Full?
    • How to Set Up SMTP in cPanel
    • My Hosting is Suspended – Will My Emails Work?
  • Domain Names
    • How Can I Register a Domain with Clouduxe?
    • How Can I Transfer My Domain to Clouduxe?
    • How Can I Renew My Domain with Clouduxe?
    • How Can I Set Nameservers on My Domain?
    • How Can I Manage DNS on My Domain Through cPanel?
    • Do We Still Need WHOIS Privacy Protection?
    • How to Use Cloudflare on Your Domain
      • Cloudflare SSL Configuration: Flexible vs. Strict Mode
      • How to Flush the Cloudflare Cache
      • What is a CDN?
      • Cloudflare DDoS Protection for Your Website
      • Cloudflare for Website Optimization
    • Why Do Different TLDs Have Different Prices?
    • Domain Verification Suspension
    • Changing Your Main Domain
    • Failed Domain Registration/Renewal
    • How to Cancel Your Domain Name Registration
  • Accounts and Billing
    • Cancellation and Refund Policy
    • Money-Back Guarantee
    • Payment Methods
    • Cancellation
    • How to Enable/Disable 2FA Authentication
    • How do I Add/Remove a Payment Card from my Account
    • How to Add Funds to My Clouduxe Account
    • How to View Invoices
    • Affiliate System
      • How to Use the Clouduxe Affiliate System
    • Why Was My Card Declined?
    • Invoicing and Suspension
  • VPS and Dedicated Servers
    • VPS and Dedicated Servers at Clouduxe
    • Protecting Your Server with Fail2Ban
    • Connecting to a Linux Server
      • How to Open Ports in Linux
    • Protect Your Linux Server
    • Connecting to a Windows Server via Remote Desktop Protocol (RDP)
      • How to Open Ports in Windows RDP
      • How to Set Up XAMPP in Windows RDP
      • How to Set Up FileZilla Server in Windows RDP
      • Cloudflare Spectrum for Windows RDP
      • Protect Your Windows RDP
  • Network and Technology
    • Hardware and Locations
    • Why Hosting Location Matters
    • Software Stack
    • LVE Limits Explained
    • System Resource Limits
    • Disk Space Limits
    • Firewall IP Block
    • Enabling LiteSpeed Crawler
    • How to Perform MTR
    • What is the Average Server Specification?
    • How to Do Traceroute from a Windows Machine
    • How to Clear your Browser Cache
    • How to Resolve the “Deceptive Site Ahead” Warning
    • HTTP Versions
      • HTTP/0.9 Overview
      • HTTP/1.0 Overview
      • HTTP/1.1 Overview
      • HTTP/2 Overview
      • HTTP/3 Overview
      • HTTP with QUIC Overview
      • Comparison of HTTP Versions
  • Game Servers
    • FiveM
      • Resolving Server Thread Hitch Warnings in FiveM
      • How to Optimize Your FiveM Server for Better Performance
      • Troubleshooting Network Thread Hitch Warning in FiveM Servers
      • Creating Immersive In-Game Events for Your FiveM Server
      • Navigating the Challenges of Development in FiveM Servers
      • Managing Staff Members in Your FiveM Server: Best Practices
      • Managing Your FiveM Server Playerbase: Strategies for Success
      • FiveM as a Business: Managing Donations and Revenue Effectively
Powered by GitBook
On this page

Was this helpful?

  1. WordPress

How to Increase WordPress Memory Limit

Increasing the memory limit in WordPress can help improve performance, especially for resource-intensive plugins and themes. Follow these steps to increase the memory limit:

Step 1: Log into cPanel

  1. Log into your cPanel from within your Clouduxe client account.

Step 2: Access File Manager

  1. Locate and click the "File Manager" menu in the Files section.

  2. Click on the public_html folder.

Step 3: Edit wp-config.php

  1. Search for the wp-config.php file, right-click on it, and select "Edit."

The wp-config.php file is crucial for your WordPress installation, so be careful when editing it.

Step 4: Add Memory Limit Code

  1. Add the following code right before the line that says: // That's all, stop editing! Happy blogging.

    define( 'WP_MEMORY_LIMIT', '512M' );
  2. You can enter any value where 512M is stated, depending on your needs and server capabilities.

Alternative Method: Modify default-constants.php

If necessary, you can also change the memory limit in the wp-includes folder by editing the default-constants.php file. However, this method is less common.

Step 5: Confirm Changes

To confirm that your changes have taken effect, create a phpinfo.php file. Here’s how:

  1. In the File Manager, create a new file named info.php.

  2. Add the following code to the file:

    <?php phpinfo(); ?>
  3. Save the file and navigate to yourdomain.com/info.php in your browser.

Conclusion

Increasing the WordPress memory limit can enhance your site's performance and stability. Always remember to back up your site before making changes to configuration files.

Setting an excessively high memory limit can lead to server issues. Always check your hosting provider's recommended limits.

PreviousHow to Create a WordPress Staging Site with cPanelNextHow to Generate a Certificate Signing Request - CSR in cPanel

Last updated 8 months ago

Was this helpful?