到PHP解压缩目录 /ext/fileinfo   

 

执行 php安装文件夹bin下的 phpize

然后执行

./configure --with-php-config=/usr/local/php/bin/php-config --enable-fileinfo

最后编译安装

make && make install

 

编译安装完成在php.ini 文件 添加一句

(我的是添加了拓展路径   extension_dir="/www/source/php/lib/php/extensions/no-debug-zts-20180731/"  )

extension=fileinfo.so

 

相关文章:

  • 2021-07-29
  • 2022-12-23
  • 2021-05-13
  • 2021-03-31
  • 2021-11-06
  • 2021-09-24
  • 2022-12-23
  • 2021-09-30
猜你喜欢
  • 2022-12-23
  • 2021-09-24
  • 2021-10-14
  • 2022-02-16
  • 2021-10-03
  • 2021-10-04
相关资源
相似解决方案