LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 08-04-2010, 03:15 PM   #1
kdani
LQ Newbie
 
Registered: Aug 2010
Posts: 5

Rep: Reputation: 0
ffmpeg extension won't load after php version upgrade from 5.1.6 to 5.2.13


CentOS 5, installed ffmpeg and compiled the ffmpeg.so, from fffmpeg-php-0.6.0. Everything works fine. Then upgrade the php to 5.2.13 (using an external repository)

recompiled ffmpeg.so but now when trying to load php:

PHP Warning: PHP Startup: ffmpeg: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0

Any ideas how to resolve this issue ? Thanks.
 
Old 08-04-2010, 05:05 PM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,393

Rep: Reputation: 1193Reputation: 1193Reputation: 1193Reputation: 1193Reputation: 1193Reputation: 1193Reputation: 1193Reputation: 1193Reputation: 1193
Hi,

You can (re)move ffmpeg.so and then in the ffmpeg-php sources directory run
Code:
phpize -clean
After that redo the installation

Regards
 
Old 08-04-2010, 11:42 PM   #3
kdani
LQ Newbie
 
Registered: Aug 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bathory View Post
Hi,

You can (re)move ffmpeg.so and then in the ffmpeg-php sources directory run
Code:
phpize -clean
After that redo the installation

Regards
Thanks !! it worked !

(ffmpeg is now appears on phpinfo, although make test says it fails)
but the versions problem is gone.
 
  


Reply

Tags
extensions, ffmpeg, php


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Install ffmpeg for PHP ( ffmpeg-php extension ) shlomi.s Linux - Software 2 02-02-2010 12:52 AM
Unable to load ffmpeg-php bosstijger Linux - Server 11 10-26-2009 05:50 PM
PHP Extension will not load xborg Linux - Software 1 10-22-2009 04:39 AM
Does the latest version of ffmpeg not work with ffmpeg-php? whitey4900 Linux - Software 0 08-04-2008 05:16 PM
php cannot load mysql extension no_names_left Linux - Software 4 03-02-2005 07:31 PM


All times are GMT -5. The time now is 04:33 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration