Friday 25 April 2014

How to enable ffmpeg-php gd support on cpanel server

How to enable ffmpeg-php gd support on cpanel server
If just installed ffmpeg with ffmpeg-php and when you look php info
sometime you see

Code:
Code:
ffmpeg-php gd support  => disabled

So here is solution.

First of all check gd is installed or not.
To easily check full php info you can create a page info.php with code
Code:
Code:
<?php phpinfo(); ?>
if gd is installed, you will see something like this
[Image: yJFcSsV.png]

If gd is not installed you can simply install from easyapache option cpanel

If gd is installed and you still getting
Code:
ffmpeg-php gd support => disabled
then simply remove the source

Code:
Code:
rm -rf ffmpeg-php-0.6.0

and recompile again

Code:
Code:
tar xjf ffmpeg-php-0.6.0.tbz2
cd ffmpeg-php-0.6.0
sed -i 's/PIX_FMT_RGBA32/PIX_FMT_RGB32/g' ffmpeg_frame.c
phpize
./configure
make
make instal
l

Once successfully installed, you can check and verify through .info.php page or running ssh command 
Code:
Code:
php -i | grep ffmpeg

1 comment:

  1. I had this issue few day ago and couldn't fix it. Thats when I started googling and found a team of friendly people called called ServerBuddies. They provide quality remote server management, including troubleshooting, Server Management, Plesk Support, Server Maintenance, Server Monitoring, Server Troubleshooting and support at a affordable rates. Here are option for Server Management, Server Maintenance, Server Monitoring, Server Troubleshooting, Server Optimization, Plesk Support, Linux Support, cPanel Support and Plesk Support. They are great, I highly recommend to use these guys!

    ReplyDelete