(1) memcached installation file
libgcc_s_sjlj-1.dll memcached.exe pthreadGC2.dll php_memcache.dll
(2) installation steps ( Note that you want to install under administrator privileges)
1 Put memcache.exe, libgcc_s_sjili-1.dll, pthreadGC2.dll in the php installation directory
2 Copy php_memcache.dll to the php installation directory In the ext folder, add the following extension=php_memcache.dll
to the end of the php.ini file. 3. Find cmd.exe in the C:\\Windows\\System32 directory, right click and execute with administrator privileges. Go to your php directory and execute memcached -d install. The installation is successful without prompts.
If you are prompted that the installation failed or you have already installed it, you are not executing cmd.exe under administrator privileges. >4. Start memcache, go to the php installation directory, execute memcached.exe -d start, open the memcache service
5. Restart apache, then you can use memcached under php
(3) under telnet Using memcached, win8.1 disables teln by default Et service, can enter the control panel -> program -> enable or disable the windows function, hook the telnet server and telnet client, enter the dos interface, execute
telnet 127.0.0.1 11211, You can enter the telnet window operation
(4) memcached common commands
memcached basic commands (installation, uninstallation, startup, configuration related):
-p listening port -l connection IP address, the default is native -d start Start memcached service -d restart Restart memcached service -d stop|
Shutdown Shut down the running memcached service -d install Install the memcached service -d uninstall Uninstall the memcached service -u Run as follows (only valid when running as root) -m Maximum memory usage, in megabytes. The default 64MB-M memory returns an error, instead of deleting the item -c maximum simultaneous connection number, the default is 1024-f block size growth factor, the default is 1.25-n minimum allocation space, key+value+flags default is 48
-h show help
For example, start
memcached -d start
The memory of the required memcached is greater than 64m, which should be started
memcached – m 256m –d start
If you want to change a port
memcached -d -m 30 -l 127.0.0.1 -p 9000 -d start
Data operation command format: < ;command name> <key> <flags> <exptime> <bytes>
<data block>
Common commands can be found in this buddy's blog, classics are clear
(5) php code using memcached, you can directly view the official documentation
Author: Shen Yi to Win8.1 is very easy to use, but many of my friends worry about the software
Win8 Change Sharing Settings 1. Swipe in from the right edge of the screen, click “Se
Author: Mayon Win8 Skype recently upgraded to version 1.3.0.111 version, the new version has final
Sometimes, when our computer keyboard is damaged or a button fails or we need to play some special s
How do I run the Win8 start screen as an administrator? How to run as an administrator
Is it really feasible to accelerate the Win7/Win8 system on the USB flash drive?
Using the Windows 8 File History feature
Win10 skills: game mode test What is the use of win10 game mode
How does Win10 add libraries to the Home folder? Win10 adds library
Win8.1 advance to experience the ability to customize the lock screen screen
Detailed introduction of the new version of Credential Manager
Differences in security features in Win8 versions
Microsoft will Win8.1 /Xbox games cross-platform development tools
Win8 can not use the proxy server to access the Internet and the solution
Win8 how to clean up the garbage Win8 one key to clean up the garbage
Win8 system running some software need to enter a password how to solve
Win10 forced automatic update (home version) Keng N card user
What are the shell specific commands in the Win7 system?
Windows 7 boot automatic broadband connection method tutorial
Win8 comes with anti-virus software Defender to prevent the modification of the hosts file solution
QQ game for Win8 app store shelves: only happy landlord
Customized power usage scheme for Windows 7 system
Microsoft once again warned IE security vulnerabilities to become targets
Windows7 system boot mouse can not move what is the reason how to solve
Win10 Firefox flash plugin crashed the solution
Win7 system boot prompts Windows can not find the file how to do?