I installed memcached by reading this article on Windows7, but unfortunately I keep getting the Fatal error: Class 'Memcache' not found in D:\xampp\htdocs\test\memcache\test.php on line 2
Line 2: $memcache = new Memcache;
Win7 64, installed Xampp. I use net start "memcached Server" on the command line, but it says that the service is already running.
Additional information that may help;
In php.ini file:
extension=php_memcache.dll [Memcache] memcache.allow_failover = 1 memcache.max_failover_attempts=20 memcache.chunk_size =8192 memcache.default_port = 11211
Update: phpinfo (); show dll does not load. Tried several different dll files so far, didn't work. Also the dll is right. It seems to be in the correct folder.
(PS Some might think that there are possible duplicates of this topic, but there are only 1 people who followed the same instructions and had the same error in SO. There is no answer or solution after the march.)
php memcached xampp
Mustafa Aug 09 2018-12-12T00: 00Z
source share