Please can someone help as I'm stuck and can't seem to find a solution
I installed image magic through /scripts/installimagemagic
and installed php-ffmpeg like below and added extension=ffmpeg.so in php.ini file which is located at /usr/local/lib/php.ini
Installation goes fine without errors but cannot see them in phpinfo page if I do php -i | grep ffmpeg I get thisCode:# mkdir /usr/local/src # cd /usr/local/src # wget http://downloads.sourceforge.net/project/ffmpeg-php/ffmpeg-php/0.6.0/ffmpeg-php-0.6.0.tbz2 # tar jxf ffmpeg-php-0.6.0.tbz2 # cd ffmpeg-php-0.6.0 # perl -i -p -e "s/PIX_FMT_RGBA32/PIX_FMT_RGBA/g;" ffmpeg_frame.c # phpize # ./configure && make clean && make && make install
And if i do php -i | grep imagick I get thisCode:[/]# php -i | grep ffmpeg ffmpeg ffmpeg-php version => 0.6.0-svn ffmpeg-php built on => Mar 16 2011 21:04:49 ffmpeg-php gd support => enabled ffmpeg libavcodec version => Lavc52.72.2 ffmpeg libavformat version => Lavf52.64.2 ffmpeg swscaler version => SwS0.11.0 ffmpeg.allow_persistent => 0 => 0 ffmpeg.show_warnings => 0 => 0
and php -m gives thisCode:[/]# php -i | grep imagick imagick imagick module => enabled imagick module version => 3.0.1 imagick classes => Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator imagick.locale_fix => 0 => 0 imagick.progress_monitor => 0 => 0
But they don't show up in phpinfo page which is loaded through the browser.Code:[/]# php -m [PHP Modules] bcmath bz2 calendar Core ctype curl date dom eAccelerator ereg exif ffmpeg fileinfo filter ftp gd gettext hash iconv imagick imap intl ionCube Loader json libxml mbstring mcrypt mysql mysqli openssl pcre PDO pdo_mysql pdo_sqlite pgsql Phar posix pspell Reflection session SimpleXML soap sockets SPL SQLite sqlite3 standard suhosin tidy tokenizer wddx xml xmlreader xmlrpc xmlwriter xsl zip zlib [Zend Modules] eAccelerator the ionCube PHP Loader
I tried changing php versions from Easy apache but no luck. I tried php 5.2.9, 5.2.17 and now I'm at php 5.3.5.
I even tried to build php without gd from easy apache and than tried to install gd through /scripts/installgd I come to the same problem gd does not show in php info page unless I install it through EasyApache from the beginig.
All the installation for ffmpeg, lame etc goes fine the only problem is that you can't seem to see php extensions in the phpinfo page.
Please can someone guide me I'm totally stuck here. I googled but could not find a solution. I almost tried everything I could find on the net. It is something to do with the way easyapche builds php. I don't know how to hard code these exensions into php when php compiles through easyapache or what other way to use to install these.![]()



LinkBack URL
About LinkBacks
Reply With Quote







