zoukankan      html  css  js  c++  java
  • Mac 安装php Swoole扩展出现 Enable openssl support, require openssl library 或者fatal error: 'openssl/ssl.h' file not found

    Mac 安装php Swoole扩展时出现 Enable openssl support, require openssl library 或者fatal error: 'openssl/ssl.h' file not found时,只需指定openssl路径就好了

    ./configure --with-openssl-dir=/usr/local/opt/openssl@1.1 --enable-http2 --with-php-config=/Applications/MAMP/bin/php/php7.4.2/bin/php-config
    

    brew 安装的 OpenSSL 默认在 /usr/local/Cellar/openss/版本号,而我使用之后会报fatal error: 'openssl/ssl.h' file not found错误,大概我的openssl安装路径是在/usr/local/opt/openssl@1.1

  • 相关阅读:
    NIO学习
    XML(二)
    IO和NIO
    Log4j
    异常处理机制
    XML
    数据交互
    分页实现的三种方式
    Idea破解
    数据库连接池
  • 原文地址:https://www.cnblogs.com/niuben/p/14225965.html
Copyright © 2011-2022 走看看