WindowsIn the environmentPHPused inRedisDownloadDLLfilePhp_redis.dllExtendedFor php5.4.xphp5.4.xof theRedisExtendedPhp_redis.dllTest Platform:Windows XPx32 (FastCGI PHP5.4.9 Nginx 1.4.0)includeNon Thread Safeand theThread Safetwo versionsfirst putPhp_redis.dlland thePhp_igbinary.dllputPHPof theextfolder, and then inphp.iniin the configuration file, add the following code:Extension=php_igbinary.dllExtension=php_redis.dllthinkphpRemoveIndexRemoveindex.php1.httpd.confthe configuration file is loaded with themod_rewrite.soModule //in theAPACHEInside to configure#LoadModule rewrite_module modules/mod_rewrite.soremove the siren from the front.2.AllowOverride NonespeakNoneinsteadAll //in theAPACHEInside to configure (pay attention to other placesallowoverridealso set toAll )allowoverride NoneChangeallowoverride AllOptions NoneOrder Allow,deny allow from all3.ensure thatUrl_modelset to2, write in the project's configuration filereturn Array ( 'Url_model' = '2',)4. htaccessfiles must be placed in the same directory as theSave new text document as. htaccessFile:Rewriteengine onRewritecond%{request_filename}!-dRewritecond%{request_filename}!-frewriterule ^ (. *) $ index.php/$1 [qsa,pt,l]
The above describes the think installation of Redis to remove index, including the redis,think aspects of the content, I hope that the PHP tutorial interested in a friend helpful.