Think installing Redis Removing index Vcredis redis using a Redis source

Source: Internet
Author: User
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.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.