search

Home  >  Q&A  >  body text

php - Mac sierra executes composer update and reports lib-openssl version error. How to solve it?

I develop on a Mac sierra system, and now I am writing a Laravel backend, which requires the use of Jwt, so I quoted tymondesigns/jwt-auth. But in composer update, I encountered a problem and reported this kind of bug:

But my openssl has already been installed

Who has encountered this situation?

PHP中文网PHP中文网2788 days ago514

reply all(2)I'll reply

  • 我想大声告诉你

    我想大声告诉你2017-05-16 13:03:09

    This article Roll your own PHP to support OpenSSL instead of Secure Transport makes it very clear that Apple’s PHP uses its own encryption, not openssl

    You need to do what the article says

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-05-16 13:03:09

    Maybe the version is wrong. Did you compile it or download it directly using the package management tool? Try reinstalling.

    reply
    0
  • Cancelreply