I changed my configuration.php file to include the following to use Memcached:
public $caching = '2';
public $cache_handler = 'memcache';
public $memcache_server_host = 'memcached-10314.c2.eu-west-1-3.ec2.cloud.redislabs.com';
public $memcache_server_port = '10314';
public $memcache_server_user = 'memcached-app98811975';
public $memcache_server_pass = '********';
I have installed the memcached extension on Heroku, and it was set up automaticly. I received the details above, so I entered the host I received and the port. There was also a username and password given to me, and I did not find how to enter this in the configuration.php so I added as seen above here. Is this maybe where I'm wrong?
I expected the caching to be done by Memcached and to not receive an error.
Now I get a server 500 error on my heroku webserver, and the following error:
The memcache Cache Storage is not supported on this platform.
Labels |
Added:
?
|
@brianteeman I tried with the 'memcached' as $cache_handler but got the same error..
For Memcached, the PHP Memcached class must be available (generally true after installing and enabling PHP's ext/memcached
).
For Memcache, the PHP Memcache class must be available (generally true after installing and enabling PHP's ext/memcache
, note the official extension at last check wasn't PHP 7 compatible and I'm not entirely sure the fork that's mentioned in the PHP docs comments will actually work with our adapter).
Status | New | ⇒ | Discussion |
Category | ⇒ | com_cache |
Labels |
Added:
J3 Issue
|
It's been two months without updates here so I'm assuming this has been solved and am closing the issue. It can always be re-opened if this is still an issue.
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-08-18 11:07:56 |
Closed_By | ⇒ | wilsonge |
memcache and memcached are not the same thing