|
#1
|
||||
|
||||
Installing Memcached on Windows 7 and Xampp
1a. Go to your php.ini file usually located in C:/xampp/php/php.ini
find this line: Code:
;extension=php_memcache.dll Code:
extension=php_memcache.dll Code:
extension=php_memcache.dll Code:
AttentionFor windows 7 I used the following file:4. Unzip the php_memcache.dll file and put it into your php ext folder. Usually C:/xampp/php/ext/ 5. Download memcached for windows here (make sure it’s the win32 binary): 6. Unzip and put the memcache.exe file into a desired directory (e.g. c:/memcached/) 7. Open command line in Windows Administrator Mode. Click start, type in ‘Search programs and Files’ box, wait for the program cmd.exe to appear, right hand click on the icon and select run as administrator 8. Install the memcache service Type the following into the command line Code:
c:\memcached\memcached.exe -d install 9. Start memcached Type the following into the command line Code:
11. Test Memcache Create a php file and paste the following code. Then go to the page. If you do not see any errors then it has worked. PHP Code:
You can verify if memcached is running by executing this in the command line: Code:
wmic process get description, executablepath | findstr memcached.exe
Easiest way to tell if memache is running... Check task manager services tab, if its runing it will be listed, if its not, well....then it's not. I have included both files here to save so time and headaches ~Enjoy
__________________
Last edited by DAKz; 22nd March 2012 at 17:19. |
The Following User Says Thank You to DAKz For This Useful Post: | ||
parallaxz71 (1st December 2012)
|
#2
|
|||
|
|||
I'll try this, and give feedback in a minute!
|
#3
|
|||
|
|||
I have a windows server 2008 and in the command prompt i get an error when trying to install, "Missing MSVCR71.dll"
Fix that problem above but when i restarted xampp it showed a message that memcache couln't start becuse of configuration error but it did appaear in the task manager. Last edited by TJO; 14th December 2012 at 22:11. |
#4
|
||||
|
||||
I've got this error "Missing MSVCR71.dll", but i'm using Windows Xp. How i can solve this problem?
__________________
|
#5
|
|||
|
|||
look for the file on google, download it, and put it in system32 folder from windows directory
and be aware to install memcache module for the proper php version instalation just pm me if u have any problems with this |
#6
|
|||
|
|||
Memcache Extension not loaded.
|
Tags |
installing , memcached , windows , xampp |
|
|