【发布时间】:2026-02-01 22:30:01
【问题描述】:
收到此错误:
[root@web1 ffmpegphp]# make install
Installing shared extensions: /usr/lib64/php/modules/
cp: cannot stat `modules/*': No such file or directory
make: *** [install-modules] Error 1
有些类似:ffmpeg cannot install PHP extension module
但我找不到“.so”文件:PHP cannot load shared libraries
上面写着“没有为你的 PHP 版本编译 PHP 扩展”
我的服务器 PHP:
[root@web1 ffmpegphp]# phpize
Configuring for:
PHP Api Version: 20100412
Zend Module Api No: 20100525
Zend Extension Api No: 220100525
如何更改我的 PHP Api 编号?
【问题讨论】:
-
现在已经解决了。更改了 ffmpeg-php 版本和 *.com/questions/20055252/…
标签: ffmpeg centos ffmpeg-php