Menu

#36 Unable to initialize module - Conflict with PHP version?

closed-invalid
5
2014-08-28
2007-05-23
Anonymous
No

Hello

It seems, I can not get ffmpeg-php running. I used the script given on the page to (test) initialize the extention. However all I get is:

Warning: dl() [function.dl]: (null): Unable to initialize module Module compiled with module API=20041030, debug=0, thread-safety=0 PHP
compiled with module API=20060613, debug=0, thread-safety=0 These options need to match in /srv/www/htdocs/ffmpeg-php.php on line 8
Can't load extension /usr/lib/php5/20060613+lfs/ffmpeg.so

My PHP-version is 5.2.0-8+etch3, Apache/2.2.3 mod_php5
Box: 2.6.8-2-686-smp #1 SMP Thu May 19 17:27:55 JST 2005 i686 GNU/Linux

PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519

FFmpeg version SVN-r9056, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-libmp3lame --enable-shared
libavutil version: 49.4.0
libavcodec version: 51.40.4
libavformat version: 51.12.1
built on May 22 2007 12:23:47, gcc: 3.3.5 (Debian 1:3.3.5-13)

I already understood, that there is a conflict of the versions of the module and the PHP build. However I have no clue how to fix that...

Greetz
mph

Discussion

  • Todd Kirby

    Todd Kirby - 2007-05-23

    Logged In: YES
    user_id=31420
    Originator: NO

    This is not a bug. You are building against the wrong php sources. Check that you don't have two versions of php installed.

     
  • Todd Kirby

    Todd Kirby - 2007-05-23
    • status: open --> closed-invalid
     

Log in to post a comment.