Home  >  Q&A  >  body text

linux - (有截图)为什么Mac 下用brew为PHP安装扩展,成功安装后,为啥安装目录找不到.so文件??

为什么Mac 下用brew为PHP安装扩展,成功安装后,为啥安装目录找不到.so文件??

PHP中文网PHP中文网2742 days ago812

reply all(3)I'll reply

  • PHPz

    PHPz2017-04-17 14:47:41

    The default installation directory of brew is: /usr/local/Cellar/

    If the php55-redis extension is installed, the .so file will be generated in /usr/local/Cellar/php55-redis/2.2.7.

    reply
    0
  • 阿神

    阿神2017-04-17 14:47:41

    If the configuration has not been changed, it should exist in the extension directory with this path. If not, the installation may not be successful

    reply
    0
  • 迷茫

    迷茫2017-04-17 14:47:41

    gd is not just a PHP module, but a general image processing library.
    Are you looking for /usr/local/Cellar/gd/2.1.1_2/lib/libgd.3.dylib?

    reply
    0
  • Cancelreply