HostOnNet Blog

ffmpeg-php undefined symbol php_gd_gdImageSetPixel

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/' - /usr/lib/php/modules/ undefined symbol: php_gd_gdImageSetPixel in Unknown on line 0

This is caused by loading before

To fix the error, i edited

vi /etc/php.d/gd.ini

added following as last line

Posted in Linux