ffmpeg无法安装PHP扩展模块 [英] ffmpeg cannot install PHP extension module

查看:206
本文介绍了ffmpeg无法安装PHP扩展模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在安装FFmpeg-PHP的最后一步中,我不得不输入 sudo make install

In the last step of installing FFmpeg-PHP, I had to type sudo make install.

这个我收到以下错误,

sudo make install
Installing shared extensions:     /usr/lib/php5/20060613/
cp: cannot stat `modules/*': No such file or directory
make: *** [install-modules] Error 1

现在我的扩展目录在 / usr / local / zend / lib / php_extensions

如何将这个告诉我的机器?

How can I tell this to my machine ?

推荐答案

要安装PHP扩展,你只需要只需要将.so文件复制到你的扩展目录,并添加配置行。

To install PHP extension, you just simply need to copy .so file to your extension directory, and add configuration line.

但是在你的情况下,看起来像modules文件夹不存在。这可能是因为编译没有通过。在./configure&& make阶段你有没有错误?

But in your case, looks like "modules" folder does not exist. This could be because compilation did not go through. Did you get any errors during "./configure && make" stage?

这篇关于ffmpeg无法安装PHP扩展模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆