FFMpeg is a popular program for converting and manipulating audio/video files. Learn how to use it on CentOS 6. Installing Ffmpeg Php![]() Wmi install msi with parameters. Getting this error: [root@web1 ffmpegphp]# make install Installing shared extensions: /usr/lib64/php/modules/ cp: cannot stat `modules/*': No such file or directory make: *** [install-modules] Error 1 It is some what same as: But i could not find '.so' file: It's says 'PHP extensions are not compiled for this version of your PHP' My server PHP: [root@web1 ffmpegphp]# phpize Configuring for: PHP Api Version: 20100412 Zend Module Api No: 20100525 Zend Extension Api No: 220100525 How do I change my PHP Api number? Install ffmpeg: install FFmpeg-Php mkdir ffmpegphp cd ffmpegphp wget http://downloads.sourceforge.net/project/ffmpeg-php/OldFiles/ffmpeg-php-0.6.2.tbz2 tar jxvf ffmpeg-php-0.6.0.tbz2 cd ffmpeg-php-0.6.0 phpize./configure make make install If error is encountered: If installation completed successfully ffmpeg.so file will be created in /usr/lib64/php/modules/. Go to your php.ini path ( cd /etc/php.d/ in CentOS 6.7). ![]() Create file ffmpeg.ini and add extension=ffmpeg.so. Restart httpd /etc/init.d/httpd restart Note: change version if it's getting error or install ffmpeg-devel Source: • •.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |