Find the answer to your Linux question:
Results 1 to 2 of 2
fedora 12 with php 5.3.1 + apache is installed on the server I needed a FFMPEG + MENCODER + FFMPEG-PHP setup , so I have installed all of the necessary ...
  1. #1
    Just Joined!
    Join Date
    Jan 2010
    Posts
    3

    Arrow [SOLVED] issue with ffmpeg-php and gd module loading on fedora 12

    fedora 12 with php 5.3.1 + apache is installed on the server

    I needed a FFMPEG + MENCODER + FFMPEG-PHP setup , so I have installed all of the necessary libraries/codecs along with ffmpeg , mencoder and ffmpeg-php

    I've added ffmpeg-php (ffmpeg.so) module to php.ini and restarted httpd

    But ffmpeg was not showing up in phpinfo() so I grepped : php -i | grep ffmpeg
    for some clues and got this warning

    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/ffmpeg.so' - /usr/lib/php/modules/ffmpeg.so: undefined symbol: php_gd_gdImageSetPixel in Unknown on line 0

    That error explains why ffmpeg is not loading

    Obviously something to do with GD library , so I've researched on the net , and found that some users suggest loading the GD module before FFMPEG module.

    I gave it a try and added this at the end of php.ini:

    Code:
    [gd]
    ;loading gd
    extension=gd.so
    
    [ffmpeg]
    ;loading ffmpeg
    extension=ffmpeg.so
    ...but still same error when greping phpinfo()

    Am I configuring this right or ???
    Anyone encountered this before?

    Thanks

  2. #2
    Just Joined!
    Join Date
    Jan 2010
    Posts
    3
    Fixed it

    I was using the latest SVN ffmpeg-php version and that version is obviously buggy

    Installed version ffmpeg-php-0.6.0 and it worked fine

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...