Install php5.2.* php5.3.* php5.4.* versions of the memcache extension under windows

  • 2020-05-14 05:42:59
  • OfStack

Note: if the success rate of using the integrated environment is low, please configure php apache, which means that wamp php5.4.3 based on win7 has a very low success rate. Time consuming.
Extended installation and debugging methods:

Write and debug php files < The & # 63; php memcache (); Run the test from the command line, because the php extension installation has nothing to do with apache, so there is no need to keep restarting apache to see phpinfo();
In addition, it was found that when the php extension file did not match, wamp would not report an error, but would report an error when it was executed on the command line.
The configuration of memcache under wamp is very sad.

1. 安装扩展最重要的1步就是下载正确的版本的dll文件,和确保php.ini中extension_dir的路径正确,附:集成环境如wamp真正用的php.ini在apachein目录下,需要确认有效的php.ini文件在何处

2. php_memcache. dll download address / / www ofstack. com softs / 392873. html, containing php5. 2, php5. 3, php5. 4, php5. 5, 5.6 php php_memcache. dll file.

The machine information from phpinfo Chad PHP Extension Build: API20100525, TS, VC9
php test version: 5.2.5, 5.3.13, 5.4.3

3. After restarting the server, if memcache appears in phpinfo, it will succeed; otherwise, it will fail.
4. If it fails, confirm that step 1 is really all right, then search for the keyword php_memcache-5.3-VC6-x86 via Google (replace it with your version and PHP Extension Build information) and download the php_memcache.dll file again

The attached:
win install memcache / / www. ofstack. com softs / 205838. html

1. Download the windows stable version of memcached and unzip it under a disk such as c:memcached, (click here to download memcached)
2. Enter 'c: memcachedmemcached.exe-d install' at the terminal (also known as cmd command interface) for installation
3. c: memcachedmemcached exe - d memcache start started
http memcache related information: / / code jellycan. com/memcached /


Related articles: