By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,639 Members | 2,262 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,639 IT Pros & Developers. It's quick & easy.

Memcached not loading in PHP, in XAMPP (Windows 7)

P: 1
I'm trying to get Memcached (note the 'd' at the end) working in XAMPP in Windows 7. I followed these instructions without any errors, until I got to the final step where you actually run a test PHP file.

http://www.leonardaustin.com/technic...p-on-windows-7

I had no problem installing memcached, and starting it. I checked the Windows processes and see that memcached.exe *32 is running. In the "Services" tab I see "memcached Server" running on PID 1524.

From the command line I ran "netstat -aon" and see:
TCP
Local address: 0.0.0.0:11211
Foreign Address: 0.0.0.0:0
State: LISTENING
PID: 1524

Port 11211 is the expected port, so that looks good.

I have memcached installed in my 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
----

I double checked the extension_dir path:
extension_dir = "C:\xampp\php\ext"
and that's where I have my DLL file:
C:\xampp\php\ext\php_memcache.dll

However in phpinfo() I don't see a section for memcache. My co-worker followed the same instructions and it works on his computer, and his phpinfo() shows a "mamcache" section. We're both using XAMPP/Windows 7.

Any ideas?
Mar 26 '12 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.