A
A
Alexander Kuzmin2013-12-17 05:59:06
linux
Alexander Kuzmin, 2013-12-17 05:59:06

Why did ffmpeg-php crash after php update?

Faced a problem.
Namely, by installing ffmpeg-php on Centos 6.4.
The point is that everything worked before, but after the server updated php to 5.4, ffmpeg crashed, apparently due to compatibility.
What php -m says | grep ffmpeg:

[[email protected] ffmpeg-php-0.6.0]# php -m|grep ffmpeg
PHP Warning: PHP Startup: ffmpeg: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match
in Unknown on line 0

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
E
egor_nullptr, 2013-12-17
@egor_nullptr

ffmpeg-php hasn't been updated since 2008 so it won't compile with the new version of Zend API.

E
Eugene, 2013-12-17
@Nc_Soft

Reinstall ffmpeg-php.
And if it's not a secret, why do you need it?

A
AxisPod, 2013-12-17
@AxisPod

Use the console version.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question