Skip to content

Instantly share code, notes, and snippets.

@uzey
Created May 17, 2016 01:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uzey/bfdce0952dcd82a28a0b5f83e1a05e7a to your computer and use it in GitHub Desktop.
Save uzey/bfdce0952dcd82a28a0b5f83e1a05e7a to your computer and use it in GitHub Desktop.
Install FFMPEG PHP extension...
Cloning into 'ffmpeg-php-git'...
make: *** No rule to make target `clean'. Stop.
Configuring for:
PHP Api Version: 20151012
Zend Module Api No: 20151012
Zend Extension Api No: 320151012
Configuring for:
PHP Api Version: 20151012
Zend Module Api No: 20151012
Zend Extension Api No: 320151012
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... 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
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20151012
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.14.3 (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
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
FFMPEG PHP Extension installed
restarting php-fpm service ...
Gracefully shutting down php-fpm . done
Starting php-fpm [17-May-2016 01:40:35] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
done
check phpinfo for FFMPEG PHP Extension...
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
Extension 'ffmpeg' not present.
Total FFMPEG PHP Extension Install Time: 21.198512211 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment