When i install ffmpeg-php on a plesk server, i got following error
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
This is caused by loading ffmpeg.so before gd.so
To fix the error, i edited
vi /etc/php.d/gd.ini
added following as last line
extension=ffmpeg.so
3 Responses to ffmpeg-php undefined symbol php_gd_gdImageSetPixel