HostOnNet Blog

ffmpeg-php undefined symbol php_gd_gdImageSetPixel

Looking for Linux Server Admin or WordPress Expert? We can help.

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

Posted in Linux

3 Responses to ffmpeg-php undefined symbol php_gd_gdImageSetPixel

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.