php正确安装memcache扩展的方法: 1、下载memcache扩展; 2、将扩展文件放入扩展目录下的ext目录下; 3、编辑php.ini配置文件,开启memcache扩展模块; 4、重启nginx。