I'm trying to use Memcached with PHP 7.1.3 on Windows 10 64-bit. Nothing I'm doing is working and here's what I've done so far:
- I've run Memcached.exe and started it as a service. Under Services, "memcached" is running and is set to Automatic.
- I've added the php_memcache.dll file to the /ext directory in my PHP folder.
- I've enabled memcache in my php.ini file by adding "extension=php_memcache.dll" (no quotes)
- Restarted my computer.
When I run phpinfo(); it doesn't show up. I've checked that I've modified the correct php.ini file, and still nothing. I've also downloaded several versions of php_memcache.dll and none of them seem to make any difference.
When I run the following code:
$memcache = new Memcache();
It gives me the error message: "Class 'Memcache' not found ... "
Any ideas?
I'm using Windows 10 64-bit, IIS 10 and PHP 7.1.3