Installing memcache on Windows for PHP
LAST UPDATED SEPTEMBER 11, 2010
Installing memcache on Windows XP / Vista is kind of like voodoo for those of us who are not disciplined with compiling code from source. I initially attempted to install memcache a few months ago after reading a few articles about how much performance it can pump into your web application. The problem is that memcache was written with Linux in mind, not windows. So you can’t download any installers or exe files from memcache’s site for windows … which leaves people like me, who use WAMP stacks to develop applications, out in the cold.
So after a few hours of Googling I found a cocktail of methods and files to get memcache to work for win32.
A few things about memcache:
Memcache is a daemon, meaning it runs as a separate service on your machine. Just like MySQL runs as a separate service. In fact, to use memcache in PHP you have to connect to it, just like MySQL.
Think of memcache as the $_SESSION
variable for PHP, but instead of it working on a per-user basis, it runs over the entire application — like MySQL. In fact, you can use memcache as you session handler for PHP.
This is how I got memcache to work on my windows machine:
- Download memcache from code.jellycan.com/memcached/ [grab the ‘win32 binary’ version]
- Install memcache as a service:
- Unzip and copy the binaries to your desired directory (eg. c:\memcached) [you should see one file, memcached.exe] – thanks to Stephen for the heads up on the new version
- If you’re running Vista, right click on memcached.exe and click Properties. Click the Compatibility tab. Near the bottom you’ll see Privilege Level, check “Run this program as an administrator”.
- Install the service using the command: c:\memcached\memcached.exe -d install from the command line
- Start the server from the Microsoft Management Console or by running one of the following commands: c:\memcached\memcached.exe -d start, or net start "memcached Server"
Now that you have memcache installed, you’ll have to tie it in with PHP in order to use it.
-
Check your php extensions directory [should be something like: C:\php\ext] for php_memcache.dll
If you don’t have any luck finding it, try looking at one of these sites:
– downloads.php.net/pierre/ [thanks to Henrik Gemal]
– pecl4win.php.net/ext.php/php_memcache.dll [currently down]
– www.pureformsolutions.com/pureform.wordpress.com/2008/06/17/php_memcache.dll for PHP 5.2.*
– kromann.info/download.php?strFolder=php5_1-Release_TS&strIndex=PHP5_1 for PHP 5.1.* [thanks, Rich] - Now find your php.ini file [default location for XP Pro is C:\WINDOWS\php.ini] and add this line to the extensions list:
extension=php_memcache.dll
- Restart apache
- Run this code to test the installation: [found on www.php.net/memcache]
<?php $memcache = new Memcache; $memcache->connect("localhost",11211); # You might need to set "localhost" to "127.0.0.1" echo "Server's version: " . $memcache->getVersion() . "<br />\n"; $tmp_object = new stdClass; $tmp_object->str_attr = "test"; $tmp_object->int_attr = 123; $memcache->set("key",$tmp_object,false,10); echo "Store data in the cache (data will expire in 10 seconds)<br />\n"; echo "Data from the cache:<br />\n"; var_dump($memcache->get("key")); ?>
If you see anything but errors, you are now using memcache!
EDIT
Memcached, by default, loads with 64mb of memory for it’s use which is low for most applications. To change this to something else, navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\memcached Server in your registry, find the ImagePath entry and change it to look something like this:
“C:\memcached\memcached.exe” -d runservice -m 512
Now when you start the service via net start “memcached Server”, it will run with 512mb of memory at it’s disposal.
EDIT
[Thanks to Travis]
If anyone is wondering what other options can be set (other than the memory limit), run “memcached -help” in a command prompt window. Then modify the ImagePath command line per this article with the desired switches and values.
Thanks, its so useful!!
Hannan Nozari
February 12, 2008
any tips on how to increase max memory? -m in command line doesn’t seem to do it for me.
colum
March 4, 2008
colum,
I added to the post addressing the max memory.
pureform
March 4, 2008
Really very useful article.
I got everything .
Thank you very much.
bijul soni
April 21, 2008
Thank you – this is great!
Anastasia
May 14, 2008
[…] on May 21, 2008. Memcache is a great caching tool available for nearly every scripting or programming environment. I use it […]
Using Memcache with MySQL and PHP « Adventures in PHP / DHTML / CSS and MySQL
May 21, 2008
Dude, thank you for this! I was stuck at 65Megs and couldn’t figure out how to change that setting. Thanks!
Tim Merrifield
June 11, 2008
The pecl4win.php.net site is down. Anyone know where I can find the windows binary for the pecl memcache client?
Derak
June 17, 2008
Try here: http://www.pureformsolutions.com/pureform.wordpress.com/2008/06/17/php_memcache.dll
This is 6 for PHP 5.2.6 [though it will probably work for 5.2.x]
pureform
June 17, 2008
I believe this is a more recent version of memcached for Win32.
David Kaspar
June 20, 2008
Bloody awesome guide, thanks mate, Me love you long time :P
Brett
July 10, 2008
Use the 1.2.5 binaries from here:
You can get a 1.2.5 binary here:
http://code.jellycan.com/memcached/
Or here:
http://code.google.com/p/beitmemcached/downloads/list
Both of these are much newer and most importantly remove a very troublesome problem with Memcached and Windows machines with multi-cores where one core would be eaten up by Memcached.
Stephen
July 31, 2008
thanks, very useful and simple manual!
Ika
August 26, 2008
thanks!
Gercek
August 26, 2008
Kudos, my friend. This was a great help :)
KevBurnsJr
September 12, 2008
Remember to use the non-thread-safe version of the pecl library if your php is non-thread safe, otherwise the dll won’t load [check using phpinfo()]
Nick Stanton
October 8, 2008
Thanks brad ! That’s a great useful work.
Hugues
October 8, 2008
Man this really rocked for me. I was hunting it down for months and got it now. Like you I have my test and development environment on my local PC which is windows and it was always difficult for me to test the things equally on my devel box and prod box :)
imoracle
October 15, 2008
Great jobs ! thanks a lot. Your tutorial is very clear.
quang
October 18, 2008
Thank you very much
kamlesh patidar
October 21, 2008
[…] XP: https://pureform.wordpress.com/2008/01/10/installing-memcache-on-windows-for-php/ This was written by dani. Posted on Monday, November 17, 2008, at 7:24 am. Filed under […]
techlinks › Memcache
November 17, 2008
This didn’t work for me… I got a “failed to install service or service already installed” error on installation.
Furthermore, I got the latest version of memcache from Jellycan but it only includes the .exe file mentioned here, not the .dll.
No one else had this problem?
Lance Goodthrust
November 24, 2008
if you are missing this file MSVCR71.dll just like me then download it from: http://www.dll-files.com/dllindex/dll-files.shtml?msvcr71
It worked for me.
Aashish
April 23, 2009
r u sure u r executing first install command then start command?
i got the same error “fail to install service” then i realize i was directly executing start command without executing install command. make sure u have execute first install command
pradipinfo
May 27, 2009
I had the same problem. Running the command prompt as an administrator before doing the install fixed the issue.
Jeff
June 7, 2011
This helped me, thank you
Dima
September 26, 2011
thanks Jeff. u saved my time!
Amir
July 26, 2012
Dude, you saved my lot of time!
Thank you so much.. it is really very worth information!
Dayananda MR
December 2, 2008
if you are trying to install memcached on windows vista, right click on the memcached.exe, go to its properties and make sure on the compatibility, run as administrator is selected.
good luck
quantize
December 9, 2008
Very helpful.Thanks for the guidence.
Azaad
December 18, 2008
Thanks a lot. Great job!
aaa
December 23, 2008
Hey! thank a bunch man!
was planning on experimenting with memcache for a while, but to lazy to figure out how to get it working on win32..
saved my day!
Zogs
January 7, 2009
greate article! thanks!!
manzuni
January 15, 2009
super super :)
ignis
January 29, 2009
Thanks You! Very much. It is very good article to install memcache in widows. It helps me a lot.
Anand Kumar
February 9, 2009
while restating the Apache after extension added I am getting following error in the error.log and extension not loading
PHP Warning: PHP Startup: memcache: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
Please can anybody help me
Ramarao
March 16, 2009
Thanhk you
hoang nguyen
March 30, 2009
You can find a php 5.3 version of the memcache here:
http://kromann.info/download.php?strFolder=php5_3-Release_TS&strIndex=PHP5_3
Thiago Mata
April 17, 2009
php_memcache.dll can be found/downloaded here:
http://downloads.php.net/pierre/
Henrik Gemal
April 20, 2009
very detailed description.. very useful. saved lot of my time. thanks.
Aashish
April 23, 2009
How to install it in a IIS7.5 (w2k8 R2) which is only x64 not x86.
memcached.exe install fails looking for msvcr71.dll
Cheers!
crazy webmaster
April 24, 2009
Thanks a lot!
Pavel Petrov
April 27, 2009
I am running EasyPHP 2.0b1.
I installed memcached from the windows binary.
I started the memcached service and can telnet into it just fine.
The php_memcache.dll file is present in the ext directory.
The extension is enabled in php.ini and shows up with phpinfo().
I’ve tried turning off my firewall.
Still, I get this error when trying to connect from PHP:
Any suggestions would be greatly appreciated!
Eric
April 30, 2009
very helpful! thanks a lot
joe mak
May 1, 2009
OK, I changed
$memcache->connect(‘localhost’,11211);
to
$memcache->connect(‘127.0.0.1’,11211);
and it worked!
Eric
May 1, 2009
!st, This is my most favorite blog post in the whole internet – thank you and others who helped make a binary…
In general, is it ok or normal to install memcached on the webserver machine (localhost) or better to use on external machines in the same LAN ?
John A
May 6, 2009
Anyone know where I can find a .dll for PHP 5.3 ??
William Meyer
May 7, 2009
And I need one for PHP 5.1.6. . .
Rich
May 7, 2009
And I (finally) found one that worked here: http://kromann.info/download.php?strFolder=php5_1-Release_TS&strIndex=PHP5_1. Hopefully this will help someone else who can’t get memcached to load.
Rich
May 7, 2009
[…] статья — вольный перевод, оригинал: Installing memcache on Windows for PHP Эта запись была опубликована в Вторник 12-го Мая 2009 […]
Q-Zma’s Burrow » Blog Archive » Установка memcache для PHP в Windows
May 12, 2009
Thanks mate, got it up and running in no time thanks to this guide
Carlton
May 14, 2009
[…] Thursday 14th May, 2009 Handy resource on installing memcache on windowsCheck out this website I found at here […]
Installing memcache on Windows for PHP « Dasher’s Corner
May 14, 2009
[…] Installing memcache on Windows for PHP « Adventures in PHP / DHTML / CSS and MySQL […]
Daily Digest for 2009-05-15 | Pedro Trindade
May 15, 2009
Awesome! This made setup a breeze!
Laran Evans
May 23, 2009
Скажите а материалы с Вашего сайта можно у себя размещать?
Futtjuiggitly
May 25, 2009
Very useful! Thanks
Nightfly
May 27, 2009
this document really rocking anyone can do this instalation .This really clear.nice .I am impressed .with out admin i did instalation
Rajasekhar
June 19, 2009
Something I found a while ago (sorry, I can’t remember where, so can’t give proper credit). Makes a “nicely” named service, and sets the max memory at 2gigs and port at (the default) 11211:
“sc create memcached11211 binPath= “C:\php\memcached\memcached.exe -d runservice -p 11211 -m 2048” start= auto DisplayName= “MemCached 11211”
(you MUST put the little spaces after the “=” signs!)
This will register a service called “memcached 11211”, with auto start enabled, the DisplayName “MemCached 11211” and the parameters in the binPath.
On a side note, we’re currently running Kenneth’s 1.2.4 Win32-preview build (http://www.splinedancer.com/memcached-win32/) in production with pretty heavy traffic (largest webshop in northern Europe), working great so far. Only problem we have detected is that the service refuses to stop, you must kill the process to stop it. Only a minor annoynance. :-)”
Dean Higginbotham
June 19, 2009
this article helped me a lot to install memcache.
thanks a lot…..
krishan
June 23, 2009
i downloaded the windows version but there is no memcached.exe file. Anyone else run into this issue?
yemmer
June 30, 2009
nevermind..i downloaded teh wrong file. doh.
yemmer
June 30, 2009
Great installation guide. Thanks for sharing with us.
Sastha L
July 13, 2009
thanks a lot! made it with some problems on W7 :)
metalpower
July 13, 2009
Its Done Boss, really working!!!
Jawwad Ahmed
July 13, 2009
Thanks, got me up and running in no time!
edanb
July 23, 2009
Thank you. Excellent!
Mitch
July 30, 2009
hi great post 10x, however i was unable to execte the example i am getting:
“Fatal error: Class ‘Memcache’ not found”
i added the dll to the ext list in the php.ini and restart apache with no luck please advise.
oded
August 3, 2009
You ought to check and see if the memcached extension is complied for the version of php you have installed… You can check apache’s error_log to see if that’s the issue. The files listed above are for php 5.1 and php 5.2, so if you’re running 5.3 or a 6.0 build, it wont work properly.
pureform
August 4, 2009
thanks for the help however i am using php 5.2.0 here are some more details that may shade some light.
running the phpinfo i get:
php version 5.2.0
system Windows NT USER-PC 6.0 build 6001
apache api version 20020903
i using Vista
where else should i check to get more details that may help to track the problem.
10x Oded
oded
August 7, 2009
I manage to work it out, it seems that PHP 5.2.0 cannot load the memcached dll, after upgrading to 5.2.10 everything went well.
Thanks for the help.
Oded
oded
August 8, 2009
great work!
Thank u so much.
millan
August 5, 2009
it’s the first tutorial about this topic, that really worked for me. thank you so much.
Karsten
August 6, 2009
Great article – thanks very much!
Paul
August 7, 2009
I’m looking for the PECL Win32 php_memcache.dll for PHP 5.3 I only found the one for PHP 5.2
Thanks!
Yago
September 4, 2009
tks for the post :D
Vu
September 7, 2009
Thank you for the fantastic Step by Step expanation.
The Links to the memcached.dll were just what I needed to make it work.
Thank you very much.
Hugo
September 10, 2009
thanks! nice tutorial
David
September 23, 2009
gee, thank u so much guys, my memcache is working now…
nurv7
November 7, 2009
wow!!!simply great, thanks alot, i really found it helpful. Can you write more examples of using memcached.
ravi
November 9, 2009
thank you for this tutorial…
it really saved me a lot of time
Zaid
December 4, 2009
Thankssssss its helped sooo much
Dileep.C.C
December 18, 2009
[…] Installing memcache on Windows for PHP […]
Using memcached with WordPress « webjawns.com
December 20, 2009
[…] MacOSXで開発したいと思いつつ、会社ではWindowsでもやらないといけない。 Windowsでphp-memcacheを使えるようにしてみた。なお、サーバはLinuxなのでライブラリを入れるだけ。 xamppの最新版はMTの開発にいいかも。的な記事を書こうとして書いてないのでまた書こう。 どうもWindowsではPECLでインストールするのが具合がわるいらしいので直接php_memcache.dllを落としてextensionディレクトリに突っ込むのがよいらしい。 参考: https://pureform.wordpress.com/2008/01/10/installing-memcache-on-windows-for-php/ […]
Windowsの開発環境(xampp)でphp-memcacheを使う « kwLog
December 20, 2009
Thanks a lot, men!
Tutorial is simple and great!
I installed memcached just as you said, and it works!
Thanks!
WallTearer
December 21, 2009
This is awesome! Thanks.
soollung2
December 28, 2009
I am really thankful to you.
u saved a lot of time.
Amol
January 25, 2010
None of these DLL’s work with that binary.
Fun House Games
February 19, 2010
Ok so I just checked, I’m using 5.3.0 and its not working, any ideas?
Fun House Games
February 19, 2010
Really very helpful, Thank you
Pedro
March 2, 2010
thank you very much, that was very useful
msanii
March 7, 2010
I have a weird problem. My Memcached works fine, I’ve managed to test it. Weird thing is that I have to call getVersion() function before I can fetch data from cache. I’ve tried it with and without the function. Any idea what could cause it?
th89
March 8, 2010
[…] off, all credits go to this guy. I’m just listing the steps on how I did it in Windows 7 with PHP 5.3. Also, I tested this […]
Installing Memcached for PHP 5.3 on Windows 7
March 14, 2010
Thanks! For others having problems installing memcached, try running the command prompt as an administrator.
Shiki
March 14, 2010
[…] Installing memcache on Windows for PHP « Adventures in PHP / DHTML / CSS and MySQL (tags: php windows memcached howto) […]
links for 2010-03-15 | On9 Systems
March 15, 2010
[…] […]
memcache te fatal error??
March 16, 2010
Thank you for your post. It saved me a lot of time.
Chris
March 22, 2010
Great article.
After setup, I found that set to memcache always return false. Is there any idea to troubleshoot this issue?
Morgan Cheng
March 26, 2010
i have the same problem. When i set to memcache, sometimes it shows message, Notice: Memcache::set() [memcache.set]: Server 127.0.0.1 (tcp 80) failed with: Failed reading line from stream (0). But sometimes not. When I get values, it always return false.
Rith
March 26, 2010
[…] may help https://pureform.wordpress.com/2008/0…ndows-for-php/ __________________ Do not ask me to help you work on your site that is not phpMyBitTorrent Do […]
[Need help] How to setup Gazelle with windows + xampp. - Bravo List
April 25, 2010
If I install memcache 1.2.6 at my windows apache php 5.2 build 3790 system I get always this php error:
PHP Warning: PHP Startup: Unable to load dynamic library ‘c:\PHP5\ext\php_memcache52.dll’ – Die angegebene Prozedur wurde nicht gefunden.
in Unknown on line 0
But the dll is there. And I tried every windows php_memcache.dll version from pierre – Does anybody knows what to do. Would be great if yes!
Thx in advance!
cheers,
Tom
Tom
May 11, 2010
Nice info,,Thank’s
Mich
May 31, 2010
Thank you so much. Everything works great with the latest php 5.3.2
DmitrySh
June 14, 2010
I’m trying to install this for php 5.3.3. I’m having no luck. If I add the extension to php I get a server fault when trying to start apache. No error in the log, no explanation whatsoever, just can’t start it. I’m using the memcache-cvs-5.3-VC6 dll.
Brandon
October 1, 2010
It’s still work at IIS 7 !!
Thank you ever so much!
Lael
June 28, 2010
Ey can i have some help? did everything wht was writen down but its not working, im running appserv and everytime i get this: Fatal error: Class ‘Memcache’ not found in C:\AppServ\www\test.php on line 2
my PHP Version is 5.2.6 i tried everything but its not working, can someone give me a hint?
TheMan
June 29, 2010
[…] binaries for memcached from Jellycan Code | memcached. Thanks! Then I found this great post titled Installing Memcache On Windows For PHP which was a big help. I followed the link to here to get the cvs 5.3 version of the PHP extension […]
Tools of the Hobby « A Path Less Taken
July 2, 2010
Thanks a heap. You saved me the trouble of compiling the memcache module myself.
Stan
July 18, 2010
I need the memcache dll for php 5.2.0.
No one is working.
Does anybody know where to get the memcache dll for 5.2.0?
thanks in advance!
Best
Michael
michael
August 30, 2010
[…] Installing memcache on Windows for PHP – a blog post explaining something similar to what I just did […]
Installing and configuring memcached and PHP on Windows | sides of march
September 2, 2010
Hello
Very useful article. Does the php.ini file require any configuration parameters to recognise memcache? Followed your article but couldn’t see Memcache listed by phpinfo().
I’m attempting use Memcache with PHP5.3.1.
Paul D
September 11, 2010
I’m not sure if it does. I was able to run it without doing any extra config.
Did you try the 5.3.x extension from this site? http://downloads.php.net/pierre
PureForm
September 11, 2010
If anyone is wondering what other options can be set (other than the memory limit), run “memcached -help” in a command prompt window. Then modify the ImagePath command line per this article with the desired switches and values.
Travis
September 11, 2010
Great starter tutorial.This helps a lot. Thanks :)
saiful103a
September 13, 2010
i could not navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\memcached Server, can anyone explain me how this can be done
zendrej
October 5, 2010
Good one.
Balaji D L
October 12, 2010
[…] to Travis] If anyone is wondering what other options can be set (other than the memory limit), run […]
Installing memcache on Windows for PHP | Yill
October 25, 2010
[…] Yii framework: WAMP için memcache kurulumu. Yii gereksinimlerine baktığımızda memcache eğer WAMP kullanıyorsanız memcache için warning uyarısı çıkacaktır. Yukarıdaki linkteki kurulumu yaparak bu uyarıyı kaldırabiliriz. AKPC_IDS += "143,";Popularity: unranked [?] […]
Yii framework: WAMP için memcache kurulumu | kiremit | web üzerine yazılar
November 10, 2010
nice post guy, thank you
Ries
November 21, 2010
nice tutorial!10xs
belogradchik
January 4, 2011
[…] – Today, 01:55 PM I installed the memcached daemon on windows by following this link: Installing memcache on Windows for PHP Adventures in PHP / DHTML / CSS and MySQL Works like a charm! Now it's MUCH […]
V4 Very Slow! - Kayako Forums
January 9, 2011
This article was very helpful, well writen and straight to the subject. Thanks a bunch, as this is going to have imediate use.Thumbs up!!!
Carlos Marques
February 22, 2011
First, this is a nice howto :-)
Second, nothing works for me, the Memcache Class can’t be found. I use Windows 7 Pro with PHP 5.3.5 and get the Jellycan Code’s memcached Version 1.2.6 and later 1.2.5. The memcached.exe has admin-rights and i set temporarily the XP/Vista compatibility. Memcached runs as Service and the php.ini has the extension enabled.
All setting configuration are correct. Does anyone have any idea what I could still try?
Rob
March 2, 2011
Did you try the memcache extensions from downloads.php.net/pierre/?
http://downloads.php.net/pierre/php_memcache-2.2.6-5.3-nts-vc9-x86.zip
http://downloads.php.net/pierre/php_memcache-2.2.6-5.3-vc9-x86.zip
PureForm
March 2, 2011
Yes, all of them and all the dlls from other published links from the comments.
I don’t think i have the Ultimate-Special-System wich Memcached won’t work :-)
Rob
March 2, 2011
I have some error while restart the apache..
i am
Using
OS:Windows Xp;
PHP:PHP Version 5.3.2
Apache:Apache/2.2.17
sabari
April 4, 2011
Hi,
I have to use memcached not the memcache.
new Memcached()
php_memcache.dll does not support the memcached. can you help me to run Memcached please.
Bhuban
April 6, 2011
I am using WAMP server within windows 7.
Bhuban
April 6, 2011
Dude, thank you for this!
Spike
April 27, 2011
Hi,
i tryed to install via:
memcached.exe -d install but i get this error:
“Failed to ignore SIGHUP: Invalid argument”
hm, any ideas?
best wishes
Michael
WhyT
April 29, 2011
I got the “SIGHUP” error, too. Using memcached 1.4.4 that I got from here fixed the issue for me.
ucavus
January 20, 2014
Thanks this worked for me on Windows 8, Neither memcached-1.4.5-win64, nor memcached-1.4.5-win32 worked. Hope this helps others.
David Edmister
November 4, 2014
Versions on Windows 8.1
XAMPP 1.8.3
PHP: 5.5.15
memcached-1.4.5-win32 (command prompt (admin): memcached.exe -d install)
DLL download version x86
http://windows.php.net/downloads/pecl/releases/memcache/3.0.8/php_memcache-3.0.8-5.5-ts-vc11-x86
PHP.ini: extension=php_memcache.dll
Restart Apache
David Edmister
November 4, 2014
My blog has opened so many doors for me and has helped me land quite a few jobs. By being immersed in writing and showing initiative, having a blog has been a great platform and portfolio. And I would recommend to anyone looking to start or build a portfolio to have a blog.
e sağlık
June 3, 2011
Receiving Fatal Error: class Memcache not Found.
Mubashar Ahmad
June 22, 2011
Thanks for the info.
First when I tried this it was giving a error ‘Fatal error: Class ‘Memcache’ not found’
Then I realized the dll I have used is wrong.
I was using V9 version but now I use V6.
http://shikii.net/blog/downloads/php_memcache-cvs-20090703-5.3-VC6-x86.zip
Now no errors.
I am using Windows 7, apache server XAMPP
Hope this will help anyone having the same issue.
Madhu
July 4, 2011
Hello.
PHP Version 5.3.5
PHP API 20090626
PHP Extension 20090626
Zend Extension 220090626
Zend Extension Build API220090626,TS,VC6
PHP Extension Build
Where can i find the right php_memcache.dll? When i try to start apache, there comes the error that the module is not compiled with the right php build.
MFG Daniel
Scretchy
July 9, 2011
Thanks for sharing, good job!! :D
Joanna
July 17, 2011
Are all the projects implied kept compatible withj windows?
serge
August 24, 2011
thanks.really liked the article, but somehow cant connect to the memcached server yet despite I can see its running through command prompt and memcache extension dll also added. any clue??
pritam
September 7, 2011
[…] 安装Memcache […]
Yii的配置 | App改变生活 – Let's do it!
September 19, 2011
Great, thanks alot for this…I found that I was having problems until i saved the memcache.exe file to a directory named memcached in the xampp directory (ie. NOT C:memcached BUT C:xampp\memcached)…hey, maybe thats just me being a t**t!
Simon
January 7, 2012
this is memcache!!!!!!
simon
January 7, 2012
[…] I came across this blog post, which not only tells you how to to install the extension (adding 1 line to your […]
memcache on PHP 5.2.* « Hypn.za.net
January 12, 2012
Thanks, I have been reading a lot tutorials but no one says something basic like you did… run cmd.exe as administrator, so thanks very much it worked!
Jonay Pelluz
January 15, 2012
Thank you very much sir
Gajanan
January 17, 2012
Merci :o)
iadeo
January 22, 2012
Hi,
Thanks a lot its really very helpful,
It’s Working like a charm
Thanks again
Harsh
Harsh
February 2, 2012
I still found this useful, I’m grateful to you!
John
February 13, 2012
[…] MEMCACHED ON AMAZON LINUX AMI — QUICK AND EASY. INSTALLING MEMCACHED ON Windows. install Memcached on Xampp on Windows 7 Memcached for PHP 5.3 on Windows […]
PHP и Memcached | 9lessons: блог о программировании, jQuery, Ajax, PHP и MySQL
February 14, 2012
[…] this out and (hopefully) speeding up development to: http://splinedancer.com/memcached-win32/ https://pureform.wordpress.com/2008/01/10/installing-memcache-on-windows-for-php/ […]
Installing Memcache Server for PHP on Windows | mandagreen.com
February 14, 2012
[…] PHP http://memcached.org/ (NOT included. You need to install it) For Windows check https://pureform.wordpress.com/2008/01/10/installing-memcache-on-windows-for-php/) For OSX check […]
72lions.com is now open sourced! - 72Lions - The playground of developer Thodoris Tsiridis
February 26, 2012
i wonderd why this is not work for me. i am getting this error: “Fatal error: Class ‘Memcache’ not found” but the service is started correctly and i did all you thought. what can i do?
thanks
Alireza
March 1, 2012
i am using apache v2.2.21 and php v5.3.9 .
Alireza
March 1, 2012
[…] [Thanks to Travis] […]
How to enable memcache in WAMP | prosoxi.com
March 4, 2012
[…] follow the links. php_memcache.dll INSTALLING MEMCACHED ON AMAZON LINUX AMI – QUICK AND EASY.INSTALLING MEMCACHED ON Windows.install Memcached on Xampp on Windows 7Memcached for PHP 5.3 on Windows […]
Memcached with PHP. | Indian Hot News
March 9, 2012
[…] voor Linux, er bestaan dus geen kant-en-klare installers voor Windows. Ik volgde hierbij deze tutorial. Na heel wat gepruts vond ik het correcte DLL bestand en kon ik gaan cachen in PHP. Het volgend […]
Jobbeurs « Ken Depelchin
March 17, 2012
[…] INSTALLING MEMCACHED ON Windows. […]
PHP应用memcached的示例 | PHP爱好者
April 8, 2012
thanks
duck
June 15, 2012
Superb, thanks.
Quick note – I’m using WAMPServer 2.1 on Windows 32-bit, and I had to use a different version of php_memcache.dll:
http://shikii.net/blog/downloads/php_memcache-cvs-20090703-5.3-VC6-x86.zip
Found it through Stack Overflow (bless ’em)
museumoftechno
July 29, 2012
[…] you should probably switch hosts.Also, this is primarily for UNIX servers, however there is a port of memcached for Windows. I just haven’t used it before, so proceed at your own risk.Getting StartedThe first thing […]
Tutorial - Supercharge your vBulletin Forum Speed with Memcached - Pinoy Webmaster Blog
August 14, 2012
Class ‘Memcache’ not found is that the error he is talking about?
Alchemyst
September 24, 2012
http://windows.php.net/downloads/pecl/snaps/memcache/3.0.6/
any body still looking for memcache.. this is working.
Tomex Evaristo
November 9, 2012
[…] https://pureform.wordpress.com/2008/01/10/installing-memcache-on-windows-for-php/ […]
Installing Memcache On Windows For PHP | prosoxi.com
November 28, 2012
[…] off, all credits go to this guy. I’m just listing the steps on how I did it in Windows 7 with PHP 5.3. Also, I tested this […]
Installing Memcached for PHP 5.3 on Windows 7 | The Road Not Taken
December 3, 2012
Nice post. This excellent website truly has all of the info I wanted about this subject and didn’t know who to ask. realy Good post. thanks so much.
informatiquee.com
December 21, 2012
[…] https://pureform.wordpress.com/2008/01/10/installing-memcache-on-windows-for-php/ […]
Installing memcached on Windows | barrylavides
December 25, 2012
[…] 1、《INSTALLING MEMCACHED ON Windows.》, 2008,1.10 […]
给PHP安装Memcache扩展 | JSCON-简时空
January 20, 2013
[…] INSTALLING MEMCACHED ON Windows. […]
PHP应用memcached的示例 | 我这样爱你
January 23, 2013
[…] ที่มาบทความ https://pureform.wordpress.com/2008/01/10/installing-memcache-on-windows-for-php […]
ติดตั้ง memcache บนวินโดว | select2web.com
February 10, 2013
Fiuh you’ve saved my works
oki
May 1, 2013
[…] First off, all credits go to this guy. I’m just listing the steps on how I did it in Windows 7 with PHP 5.3. Also, I tested this using WampServer but I believe it should work on any PHP install. […]
Installing Memcached for PHP 5.3 on Windows
May 22, 2013
I wish learned this long time ago. I received two job offers with this skill.
boe var (@bbboooeee)
July 27, 2013
I update the post with new link for windows 8/8.1 and for php 5.2-5.5
http://www.kapadiya.net/blog/installing-memcached-windows-8-81/
vikas5914
May 27, 2014
Hello there! Do you know if they make any plugins to assist with SEO?
I’m trying to get my blog to rank for some targeted keywords but I’m
not seeing very good success. If you know of any please share.
Many thanks!
samsung repair rolling meadows
August 20, 2014
[…] https://pureform.wordpress.com/2008/01/10/installing-memcache-on-windows-for-php/ […]
INNER and LEFT OUTER join help - Zurich Gyan
September 10, 2014
[…] Windows – https://pureform.wordpress.com/2008/01/10/installing-memcache-on-windows-for-php/ […]
How to Memcache | E-Learing
March 29, 2015
[…] Memcache is a great caching tool available for nearly every scripting or programming environment. I use it with PHP to speed up some applications I have written by completely avoiding asking the database for information. I wanted a very clean way of implementing this in my various projects, with as little change to the existing code as possible. Since memcache is an OBJECT caching system, you can’t simply drop your mysql_query resource into memcache, ask for it at another time, and get your results back … Which is how I had originally thought it worked the first time I read about it. The good news is that it can also store Strings, Integers, Floats, Arrays etc … Below I have a few other things I’ve learned whilst using memcache as well as the caching script I use for database queries. […]
Using Memcache with MySQL and PHP | Rz Rasel
August 29, 2015
[…] the links. php_memcache.dll INSTALLING MEMCACHED ON AMAZON LINUX AMI – QUICK AND EASY.INSTALLING MEMCACHED ON Windows.install Memcached on Xampp on Windows 7Memcached for PHP 5.3 on Windows 7. index.phpContains PHP […]
Memcached with PHP – techihelper
April 5, 2016
You can also download latest version of php_memcache.dll from extraneous website, for example http://fix4dll.com
Stephani Scorsone
November 22, 2017
[…] Installing memcache on Windows for PHP […]
Windows上的Memcached无法忽略SIGHUP:没有错误无法守护进程()为了守护进程 中国服务器网
December 28, 2017
[…] Installing memcache on Windows for PHP […]
Memcached on Windows Failed to ignore SIGHUP: No error failed to daemon() in order to daemonize | Question and Answer
February 18, 2018
Unquestionably believe that which you stated. Your favorite justification seemed to be on the net the easiest thing to be
aware of. I say to you, I definitely get
irked while people consider worries that they just do not
know about. You managed to hit the nail upon the top and also defined out the whole thing
without having side effect , people can take
a signal. Will likely be back to get more. Thanks
Situs Judi Online Deposit 25rb
June 20, 2018
[…] Installing memcache on Windows for PHP […]
Memcached on Windows Не удалось проигнорировать SIGHUP: Ошибка daemon () не была выполнена для демонтизации Вычислить мир
December 11, 2018
[…] Installing memcache on Windows for PHP […]
Memcached unter Windows SIGHUP konnte nicht ignoriert werden: Es ist kein Fehler beim Daemon () aufgetreten, um zu dämonisieren Berechnen
December 14, 2018
[…] Installing memcache on Windows for PHP […]
Memcached sous Windows Impossible d’ignorer SIGHUP: Aucune erreur n’a échoué lors du démon () pour démoniser Calculer
January 17, 2019
[…] Windows – https://pureform.wordpress.com/2008/01/10/installing-memcache-on-windows-for-php/ […]
Installing memcached for a django project - Row Coding
August 21, 2023
[…] Windows – https://pureform.wordpress.com/2008/01/10/installing-memcache-on-windows-for-php/ […]
[Django]-Installing memcached for a django project - TheCodersCamp
December 16, 2023