Jump to content

Prestashop is not saving Memcached settings


Recommended Posts

I have a issue with the admin site of prestashop. I'm trying to activate the caching system but it doesn't save the setting.

 

When I add a server (I'm using an Amazon ElasticCache server) saves it, but when I select the enable option and click Save, it redirects me to "Back Office > Preferences > Performance" but with a blank page and the admin tabs visible.

 

I go back to those settings again and i see that the caching option is disabled.

 

I tried also, by modifying the settings.inc.php file editing define('_PS_CACHE_ENABLED_', '0');

to:

 

define('_PS_CACHE_ENABLED_', '1');

But i get 500 Internal Server Error in every page.

 

 

Also, there is a warning: "To use Memcached, you must install the Memcache PECL extension on your server. http://www.php.net/manual/en/memcache.installation.php", even if i already installed memcached via yum.

 

Any ideas?

 

I'm using PrestaShop 1.4.6.2 with Nginx 1.0.11 and PHP-FPM 5.3.8

Link to comment
Share on other sites

  • 3 weeks later...

Hi!

I don't know if you have solved this issue but i can try to help you out,

Make sure the extension is installed on your server.

 

1. put this command in your putty or WinSCP: pecl install memcache

2. Make sure the extension is in your php.ini file: extension=memcache.so

3. restart Apache with this command: /etc/init.d/apache2 restart

Link to comment
Share on other sites

  • 4 months later...
×
×
  • Create New...