Home  >  Article  >  Backend Development  >  Install Memcached server-side software and PHP Memcache extension in wamp environment

Install Memcached server-side software and PHP Memcache extension in wamp environment

WBOY
WBOYOriginal
2016-07-28 08:26:08817browse

wamp environment: Apache/2.4.9 (Win32) PHP/5.5.12

1. Install the Memcached server software

1. Place the memcached.exe file under any drive letter (place F:memecached here);

2. Open the DOS window and execute the following command:

                                                                                                                                                                                             ​ 

            memcached   -d install                   //Install memcached files

              memcached  -d start                                  . memcached (you can view the process in the task manager) memcached -d stop //Stop memcached

2. PHP extension memcache

1. Place the php_memcache.dll file under wampbinphpphp5.5.12ext ( Note here: because The wamp environment is 32-bit, so the corresponding extension file is Check whether the installation is successful

If there is memcache in phpinfo(), the installation is successful

Note: The extension file php_memcache.dll must be consistent with the version of php in the environment and the number of digits of the environment machine, otherwise it will be invalid

Add extension= php_memcache.dll is in

php.ini under

Apache

File

The above introduces the installation of Memcached server-side software and PHP's Memcache extension in the wamp environment, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:Install nginx on linuxNext article:Install nginx on linux