search

Home  >  Q&A  >  body text

nginx - php-redis extension issue

Hello everyone, the PHP redis extension was successfully installed today

Environment: Mamp package, (Mac Nginx PHP7.1.1)


Also modified php.ini
extension_dir = "/Applications/MAMP/bin/php/php7.1.1/lib/php/extensions/no-debug- non-zts-20160303/"
extensions=redis.so
But the redis extension is never visible in phpinfo()

Please help me, thank you all

Note: Everything that should be restarted has been restarted

三叔三叔2707 days ago894

reply all(2)I'll reply

  • 三叔

    三叔2017-06-29 10:10:12

    Just restart php-fpm

    reply
    0
  • 女神的闺蜜爱上我

    女神的闺蜜爱上我2017-06-29 10:10:12

    After adding a new extension, you need to restart PHP. PHP will reload the configuration when it starts to recognize the Redis extension.

    reply
    0
  • Cancelreply