Installation of php5.5.34 ffmpeg extension ffmpeg-php under CentOS 6

Source: Internet
Author: User
Tags yum repolist
 #yum Groupinstall "Development tools" #cd/etc/yum.repos.d/#cp-PRV. /yum.repos.d{,.orig} #vim dag.repo#cat Dag.repo [Dag]name=dag RPM Repository for Red Hat Enterprise LINUXBA seurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/daggpgcheck=1gpgkey=http://dag.wieers.com/packages/ Rpm-gpg-key.dag.txtenabled=1protect=0#wget Http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt-P/tmp#rpm--import /tmp/rpm-gpg-key.dag.txt#yum Repolist#yum Install ffmpeg-devel re2c ffmpeg#cd/usr/local/src/#wget/http Downloads.sourceforge.net/project/ffmpeg-php/ffmpeg-php/0.6.0/ffmpeg-php-0.6.0.tbz2#tar-xjf FFMPEG-PHP-0.6.0.TBZ2#CD ffmpeg-php-0.6.0/#phpize #./configure#sed-i ' s#pix_fmt_rgba32#pix_fmt_rgb32# './ffmpeg_ Frame.c#sed-i ' 311,360s/list_entry/zend_rsrc_list_entry/'./ffmpeg_movie.c#make && make Install#echo-e " extension=ffmpeg.so\n ">/etc/php.d/ffmpeg.ini#apache-k restart#php-m|grep ffmpeg 

Reference article:https://stavrovski.net/blog/install-ffmpeg-and-ffmpeg-php-in-centos-6-with-virtualmin

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.