Topic: ffmpeg-php installation error, help me!

The following is my installation log




[root@yingshi5 ~]# tar -xvjf ffmpeg-php-0.5.2.1.tbz2
ffmpeg-php-0.5.2.1/
ffmpeg-php-0.5.2.1/tests/
ffmpeg-php-0.5.2.1/tests/test_media/
ffmpeg-php-0.5.2.1/tests/test_media/robot.avi
ffmpeg-php-0.5.2.1/tests/test_media/test.avi
ffmpeg-php-0.5.2.1/tests/test_media/Ballad of the Sneak.mp3
ffmpeg-php-0.5.2.1/tests/getFramesResampled.phpt
ffmpeg-php-0.5.2.1/tests/getFrameRate.phpt
ffmpeg-php-0.5.2.1/tests/getPixelAspectRatio.phpt
ffmpeg-php-0.5.2.1/tests/getFrameCrop.phpt
ffmpeg-php-0.5.2.1/tests/getFrameHeight.phpt
ffmpeg-php-0.5.2.1/tests/getFileName.phpt
ffmpeg-php-0.5.2.1/tests/animatedGif.phpt
ffmpeg-php-0.5.2.1/tests/isKeyFrame.phpt
ffmpeg-php-0.5.2.1/tests/getPTS.phpt
ffmpeg-php-0.5.2.1/tests/getFramesBackwards.phpt
ffmpeg-php-0.5.2.1/tests/getFramesForwardPassedEnd.phpt
ffmpeg-php-0.5.2.1/tests/getAudioCodec.phpt
ffmpeg-php-0.5.2.1/tests/persistentMovie.phpt
ffmpeg-php-0.5.2.1/tests/getFramesForward.phpt
ffmpeg-php-0.5.2.1/tests/getFrameCount.phpt
ffmpeg-php-0.5.2.1/tests/getVideoCodec.phpt
ffmpeg-php-0.5.2.1/tests/getAudioChannels.phpt
ffmpeg-php-0.5.2.1/tests/getAudioBitRate.phpt
ffmpeg-php-0.5.2.1/tests/getAudioSampleRate.phpt
ffmpeg-php-0.5.2.1/tests/getVideoBitRate.phpt
ffmpeg-php-0.5.2.1/tests/getDuration.phpt
ffmpeg-php-0.5.2.1/tests/getFrameResampled.phpt
ffmpeg-php-0.5.2.1/tests/getPixelFormat.phpt
ffmpeg-php-0.5.2.1/tests/getFrameWidth.phpt
ffmpeg-php-0.5.2.1/tests/getBitRate.phpt
ffmpeg-php-0.5.2.1/tests/getFrame.phpt
ffmpeg-php-0.5.2.1/tests/getID3Info.phpt
ffmpeg-php-0.5.2.1/tests/hasAudio.phpt
ffmpeg-php-0.5.2.1/tests/getNextKeyFrame.phpt
ffmpeg-php-0.5.2.1/tests/getFrameNumber.phpt
ffmpeg-php-0.5.2.1/tests/getFramesNoArg.phpt
ffmpeg-php-0.5.2.1/CREDITS
ffmpeg-php-0.5.2.1/TODO
ffmpeg-php-0.5.2.1/ffmpeg_movie.c
ffmpeg-php-0.5.2.1/config.m4
ffmpeg-php-0.5.2.1/LICENSE
ffmpeg-php-0.5.2.1/INSTALL
ffmpeg-php-0.5.2.1/gd_io.h
ffmpeg-php-0.5.2.1/gd.h
ffmpeg-php-0.5.2.1/ffmpeg_animated_gif.h
ffmpeg-php-0.5.2.1/ffmpeg_movie.h
ffmpeg-php-0.5.2.1/ChangeLog
ffmpeg-php-0.5.2.1/ffmpeg_frame.c
ffmpeg-php-0.5.2.1/EXPERIMENTAL
ffmpeg-php-0.5.2.1/ffmpeg_frame.h
ffmpeg-php-0.5.2.1/php_ffmpeg.h
ffmpeg-php-0.5.2.1/test_ffmpeg.php
ffmpeg-php-0.5.2.1/ffmpeg-php.c
ffmpeg-php-0.5.2.1/ffmpeg_animated_gif.c
ffmpeg-php-0.5.2.1/ffmpeg_errorhandler.c
[root@yingshi5 ~]# cd ffmpeg-php-0.5.2.1
[root@yingshi5 ffmpeg-php-0.5.2.1]#
[root@yingshi5 ffmpeg-php-0.5.2.1]# /usr/local/php/bin/phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
[root@yingshi5 ffmpeg-php-0.5.2.1]# ./configure
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
configure: error: Cannot find php-config. Please use --with-php-config=PATH
[root@yingshi5 ffmpeg-php-0.5.2.1]# ./configure --with-php-config=/usr/local/php/bin/php-config
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/local/php
checking for PHP includes... -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613
checking for PHP installed headers prefix... /usr/local/php/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... gawk
checking for ffmpeg support... yes, shared
checking whether to force gd support in ffmpeg-php... no
checking for ffmpeg headers...
configure: error: ffmpeg headers not found. Make sure ffmpeg is compiled as shared libraries using the --enable-shared option
[root@yingshi5 ffmpeg-php-0.5.2.1]# make
make: *** No targets specified and no makefile found.  Stop.
[root@yingshi5 ffmpeg-php-0.5.2.1]#
[root@yingshi5 ffmpeg-php-0.5.2.1]#
[root@yingshi5 ffmpeg-php-0.5.2.1]#
[root@yingshi5 ffmpeg-php-0.5.2.1]# ./configure --prefix=/usr/local   --enable-shared
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
configure: error: Cannot find php-config. Please use --with-php-config=PATH
[root@yingshi5 ffmpeg-php-0.5.2.1]# make
make: *** No targets specified and no makefile found.  Stop.
[root@yingshi5 ffmpeg-php-0.5.2.1]#
[root@yingshi5 ffmpeg-php-0.5.2.1]#
[root@yingshi5 ffmpeg-php-0.5.2.1]# ./configure --with-php-config=/usr/local/php/bin/php-config  --with-ffmpeg=/usr/local
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/local/php
checking for PHP includes... -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613
checking for PHP installed headers prefix... /usr/local/php/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... gawk
checking for ffmpeg support... yes, shared
checking whether to force gd support in ffmpeg-php... no
checking for ffmpeg headers...
configure: error: ffmpeg headers not found. Make sure ffmpeg is compiled as shared libraries using the --enable-shared option
[root@yingshi5 ffmpeg-php-0.5.2.1]#
[root@yingshi5 ffmpeg-php-0.5.2.1]#

Re: ffmpeg-php installation error, help me!

Please help me! How do I properly install ffmpeg-php

Re: ffmpeg-php installation error, help me!

server configuration environment

Centos 5.0 64bit

Apache/2.2.17

PHP/5.2.10

Mysql/5.1.35

Apache installation directory:/usr/local/apache

PHP installation directory:/usr/local/php

Mysql installation directory:/usr/local/mysql

Re: ffmpeg-php installation error, help me!

if you need technical help for installing ffmpeg-php , please order the installation service.

Syslint Technologies | 24x7 Server Management | Outsourced Support | Software Development - (0091) 471-3273-211

Re: ffmpeg-php installation error, help me!

Here are all my installation log


yum remove httpd -y
yum install yum-fastestmirror -y
yum -y update
yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel openldap openldap-devel nss_ldap openldap-clients openldap-servers vim-minimal patch tar unzip screen diffutils sendmail

Install libiconv
Install libmcrypt
Install mhash
Install mcrypt
Install mysql
Install apache
Install php
Install memcache
Install APC
Install cronolog
Install phpMyAdmin
Install ffmpeginstaller
wget http://mirror.ffmpeginstaller.com/old/s … 7.1.tar.gz
tar zvxf ffmpeginstaller.7.1.tar.gz
cd ffmpeginstaller.7.1.tar.gz
chmod +x install.sh
./install.sh

Re: ffmpeg-php installation error, help me!

Please check my installation order!

Wrong?

Please help me properly installed ffmpeg-php. Very grateful!

Re: ffmpeg-php installation error, help me!

ffmepginstaller won't install ffmpeg-php

Syslint Technologies | 24x7 Server Management | Outsourced Support | Software Development - (0091) 471-3273-211

Re: ffmpeg-php installation error, help me!

I know ffmepginstaller won't install ffmpeg-php, I have now installed ffmepginstaller, please tell me how to install ffmpeg-php. Need your help, thanks!