How to install Memcached on Plesk hosting control panel?

Dr. McKay

Well-known member
Registered
Joined
Nov 26, 2016
Messages
565
Points
28
Hello,

I want to install Memcached on Plesk hosting control panel to serve for my Wordpress websites. What is the easiest way to setup and config this?
 

Leapswitch

New member
Registered
Joined
May 25, 2023
Messages
9
Points
1
Please take a look at what I've mentioned below.
• Ensure Memcached Compatibility
• Access Plesk Control Panel
• Navigate to Extensions
• Search for Memcached
• Install Memcached Extension
• Configure Memcached Settings
• Enable and Configure Memcached
• Restart Web Server
• Install Memcached Plugin for WordPress
• Search for Memcached Plugin
• Install and Activate the Plugin
• Configure WordPress Plugin
• Test and Verify
 

Mujkanovic

Well-known member
Collaborate
Registered
Joined
Apr 24, 2016
Messages
424
Points
18
I want to install Memcached on Plesk hosting control panel to serve for my Wordpress websites. What is the easiest way to setup and config this?
Setting up Memcached on Plesk hosting control panel for your WordPress websites can be achieved by following these steps:

Step 1: Ensure Memcached Support First, make sure your Plesk hosting environment supports Memcached. Check if Memcached is available and supported by running the following command in the terminal or command prompt:

Code:
telnet localhost 11211
If you see a successful connection message, it means Memcached is installed and running.

Step 2: Install Memcached Extension (if needed) If Memcached is not installed, you can install it using the package manager for your server's operating system. For example, on CentOS/RHEL, use:

Code:
sudo yum install memcached
sudo systemctl start memcached
sudo systemctl enable memcached
On Ubuntu/Debian, use:

Code:
sudo apt-get update
sudo apt-get install memcached
sudo systemctl start memcached
sudo systemctl enable memcached
Step 3: Enable Memcached in Plesk Login to your Plesk control panel and navigate to the server where you want to enable Memcached. Go to "Tools & Settings" > "Memcached Server (in the Additional Services section)".

Step 4: Configure Memcached in Plesk In the Memcached Server settings, you can configure the port, memory limit, and the number of connections. For example, set the port to 11211, the memory limit to 256MB, and the number of connections to 1024.

Step 5: Install Memcached PHP Extension Now, you need to install the Memcached PHP extension for your websites. Go to "Tools & Settings" > "PHP Settings", and click on the PHP version your WordPress website is using (e.g., PHP 7.4).

Scroll down to the "Additional PHP Directives" section, and add the following lines to enable the Memcached extension:

Code:
extension=memcached.so
Step 6: Restart Apache/Nginx After making the changes, restart your web server (Apache or Nginx) for the PHP changes to take effect.

Step 7: Verify Memcached for WordPress To verify that Memcached is working for your WordPress websites, you can use a WordPress caching plugin that supports Memcached, such as "W3 Total Cache." Install and activate the plugin, then configure it to use Memcached as the caching method.

Once everything is set up correctly, your WordPress websites should now be utilizing Memcached for caching, which will help improve performance and speed.

Please note that while these steps provide general guidelines, specific server configurations and settings may vary. Always backup your website and server settings before making any changes and consider seeking assistance from a professional if you are unsure about any step in the process.

Hope it helps!
 

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top