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