PHP安装插件方法主要有两种:

1、先安装相关的库,zlib、curl、xml等,然后在安装 php 时的 ./configure 中设置 --with-xxx(你需要的插件),三部曲安装即可。

2、有一些插件在 php 的源码包里就有(/path/php/ext),有一些需要下载:

  cd xxx

  phpize (指明你的安装路径)

  ./configure --with-php-config=/usr/local/php/bin/php-config --with-xxx(有些需要其他 with)

  make

  make install

相关文章:

  • 2022-02-22
  • 2022-12-23
  • 2022-12-23
  • 2021-08-06
  • 2022-02-25
  • 2021-10-21
  • 2021-07-24
  • 2021-10-26
猜你喜欢
  • 2021-11-06
  • 2021-06-05
  • 2022-12-23
  • 2021-04-03
  • 2021-05-20
  • 2022-12-23
  • 2021-04-07
相关资源
相似解决方案