PHP Extensions for Redis installation-window environment

Source: Internet
Author: User
Tags phpinfo


Preparatory work
1. View PHP version, Phpinfo ()
2. Download extension-related plugins
A.igbinary
:
http://windows.php.net/downloads/pecl/releases/igbinary/
Note: Requires the same version as PHP
B.redis
:
http://windows.php.net/downloads/pecl/releases/redis/
Note: Requires the same version as PHP
3. Unzip the file and cause the file to be under the Ext folder in the PHP installation directory.
Includes the following four files: Php_igbinary.dll, php_igbinary.pdb, Php_redis.dll, php_redis.pdb
4. Modify the php.ini file to add "Extension=php_igbinary.dll,extension=php_redis.dll", note to load Php_igbinary.dll first.
5. Run Php.exe to see if there is an exception, if there is an exception to exclude the next error, if there is no can continue down execution.
6. Restart the Apache service, Phpinfo () to see if the extension was successfully installed.
Precautions and Exception Troubleshooting:
1.php.ini file location, generally try in the PHP installation directory, but some are not.
2. If you see the php[version number]ts.dll file in the PHP directory, you should select the TS version.

Original link: Php extension redis installation-window environment

PHP Extensions for Redis installation-window environment

Related Article

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.