ffmpeg cannot install PHP extension module

2019-06-08 07:28发布

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

At this I get the following error,

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

Now my extension directory is at /usr/local/zend/lib/php_extensions

How can I tell this to my machine ?

标签: php ffmpeg
1条回答
做个烂人
2楼-- · 2019-06-08 08:08

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

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?

查看更多
登录 后发表回答