Chat with us, powered by LiveChat

This website uses cookies

Our website, platform and/or any sub domains use cookies to understand how you use our services, and to improve both your experience and our marketing relevance.

Say hello to redesigned Cloudways, an empowering Startup Program, enhanced Staging, a new Let’s Encrypt Wildcard SSL certificate feature, and more. READ MORE

How To Configure PrestaShop With Memcached

Updated on March 9, 2018

3 Min Read
Reading Time: 3 minutes

Memcached is a free and open source memory object caching system that helps large web applications in reducing execution and access time to the database. It is mainly used to speed up dynamic database-driven web apps by caching frequently accessed data, such as results of API calls, database calls, etc.

configure prestashop with memcached

The process of setting up Memcached on PrestaShop is easy and can be done by following these simple steps:

  1. Install Memcached on Server
  2. Verify That Memcached Is Running on the Server
  3. Configure PrestaShop With Memcached

Install Memcached on Server

First step is to install Memcached on your server. The good news is that Cloudways has Memcached installed on all the servers by default. This means that you don’t have to go through all the technical complexities of installing the service manually.

Verify That Memcached Is Running on the Server

To verify whether Memcached is running on your server, log in to your Cloudways account and go to your Server Management area. In the left panel, click the Manage Services tab. Here, you will be presented with a list of services running on your server. Locate Memcached and confirm that the status is set to running.

Configure PrestaShop With Memcached

Now that you’ve verified the status of Memcached, you can move on PrestaShop. Just like with every other extended functionality available for PrestaShop, Memcached too has a dedicated integration.

Login to your PrestaShop as the Administrator.

prestashop login panel

From the left sidebar, click Advanced Parameters, and navigate to Performance.

Prestashop CMS settings

Scroll down the page to the CACHING section. Change the status of Use cache to YES.

prestashop cms

Select Memcached via PHP::Memcached from the options available for Caching System.

Prestashop cms

Now, click the Add Server button. In the IP Address text box type 127.0.0.1 and set Port as 11211.

prestashop cms

Click the Test Server button to test this information. If it shows red, it means there’s some kind of problem! Otherwise, it will show green which means everything is fine.

prestashop cms

Finally, hit the Add Server button to add the configurations and then save these settings by clicking the Save button.

prestashop cms

That’s it – Congratulations, you have successfully configured Memcached with PrestaShop.

Conclusion

As you can see, Cloudways makes it incredibly easy to take advantage of Memcached for your PrestaShop powered ecommerce store. You do not need any technical commands or server administration to set it up. If you need any further help on how to configure PrestaShop with Memcached, leave a comment and I will get back to you ASAP!

If you wish to secure your Prestashop store, see this blog post about SSL installation on PrestaShop powered ecommerce stores.

Share your opinion in the comment section. COMMENT NOW

Hamza Zia

Hamza is a Drupal Community Manager at Cloudways - A Managed Drupal Hosting Platform. He loves to write about Drupal and related topics. During his free time, he can be seen obsessing over Football, Cars, Android and Gaming.

Start Growing with Cloudways Today.

Our Clients Love us because we never compromise on these

Do you like what you read?

Get the Latest Updates

Share Your Feedback

Please insert Content

Thank you for your feedback!

THERE’S MORE TO READ.