ideyforhere
  • Sign Up
  • About Us
  • Contact Us
  • Client Login
  • Home
  • Announcements
  • Knowledgebase
  • Network Status
  • Affiliates
  • Contact Us
  • Account
    • Login
    • Register
    • Forgot Password?

Portal Home > Knowledgebase > General Support > Howto install FFmpeg-PHP

Add to Favourites Add to Favourites    Print this Article Print this Article

Knowledgebase

Howto install FFmpeg-PHP

wget http://oratoronline.com/how2/video_share_modules/source_directory/ffmpeg/ffmpeg-php-0.5.1.tbz2
tar -xjvf ffmpeg-php-0.5.1.tbz2 ; cd ffmpeg-php-0.5.1 ;
/usr/local/bin/phpize
./configure
make
make install

NOTE: After make install it will show you the path to the ffmpeg.so file, copy
ffmpeg.so to the folder where you need to run the php scripts which need ffmpeg-php.
For testing, inside the source folder, there will be a folder call tests which has
the required test php scripts. You may test if you wish to or if need arises :)

After Installation do below steps :

Edit /usr/local/lib/php.ini

Change

extension_dir = "./"

to

extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20020429"

where ffmpeg.so was installed, and add

extension=ffmpeg.so

under

;extension=php_zip.dll

This will load the FFmpeg-PHP into php by default.

==================
Error:

if phpize not found than run
yum install php-devel

Was this answer helpful?

Also Read

  • Article Icon Creating a Welcome message for SSH logins (Views: 2026)

  • Article Icon How to install Subversion/SVN (Views: 1967)

  • Article Icon Common SSH Commands - Linux Shell Commands (Views: 2045)

  • Article Icon How to install RVskin (Views: 1900)

  • Article Icon How to install RkHunter (Views: 1894)

Powered by WHMCompleteSolution


Copyright © 2013 darock Projects All Rights Reserved.