PHP 5.6 + ffmpeg-php

Простые/общие вопросы по UNIX системам. Спросите здесь, если вы новичок

Модераторы: vadim64, terminus

Правила форума
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
Аватара пользователя
wien
сержант
Сообщения: 151
Зарегистрирован: 2014-06-26 18:38:44
Откуда: DafaultCity
Контактная информация:

PHP 5.6 + ffmpeg-php

Непрочитанное сообщение wien » 2017-04-27 23:07:38

Тепла и мира вашему дому!

Уважаемые, с очередным вопросом обращаюсь к вам. Требуется включить поддержку ffmpeg-php gd support.
Собирал, перебирал, но все равно:
php -i | grep "ffmpeg-php"

Код: Выделить всё

ffmpeg-php version => 0.7.0
ffmpeg-php built on => Apr 27 2017 19:10:05
ffmpeg-php gd support  => disabled
Теперь немного технической информации:
uname -a

Код: Выделить всё

FreeBSD office.gateway 11.0-RELEASE-p8 FreeBSD 11.0-RELEASE-p8 #0: Thu Apr  6 19:22:31 MSK 2017     root@Gateway:/usr/obj/usr/src/sys/GATEWAY1.0  i386
php -v

Код: Выделить всё

PHP 5.6.30 (cli) (built: Apr  7 2017 21:28:30)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
php -i | grep extension

Код: Выделить всё

extension_dir => /usr/local/lib/php/20131226 => /usr/local/lib/php/20131226
sqlite3.extension_dir => no value => no value
ls -la /usr/local/lib/php/20131226/

Код: Выделить всё

total 6884
drwxr-xr-x  2 root  wheel     1024 Apr 27 19:11 .
drwxr-xr-x  4 root  wheel      512 Apr  7 21:36 ..
-rw-r--r--  1 root  wheel    17416 Apr  7 21:36 bz2.so
-rw-r--r--  1 root  wheel    24576 Apr  7 21:36 calendar.so
-rw-r--r--  1 root  wheel    11856 Apr  7 21:36 ctype.so
-rw-r--r--  1 root  wheel    82748 Apr  7 21:36 curl.so
-rw-r--r--  1 root  wheel   163924 Apr  7 21:36 dom.so
-rw-r--r--  1 root  wheel    51904 Apr  7 21:36 exif.so
-rw-r--r--  1 root  wheel    35968 Apr 27 19:10 ffmpeg.so
-rw-r--r--  1 root  wheel  2895516 Apr  7 21:37 fileinfo.so
-rw-r--r--  1 root  wheel    40012 Apr  7 21:37 filter.so
-rw-r--r--  1 root  wheel    46484 Apr  7 21:37 ftp.so
-rw-r--r--  1 root  wheel   400736 Apr 27 17:35 gd.so
-rw-r--r--  1 root  wheel     9256 Apr  7 21:47 gettext.so
-rw-r--r--  1 root  wheel   176408 Apr  7 21:47 hash.so
-rw-r--r--  1 root  wheel    36164 Apr  7 21:47 iconv.so
-rw-r--r--  1 root  wheel   322496 Apr 27 13:58 imagick.so
-rw-r--r--  1 root  wheel    86512 Apr  7 21:48 imap.so
-rw-r--r--  1 root  wheel    40300 Apr  7 21:49 json.so
-rw-r--r--  1 root  wheel   961160 Apr  7 21:49 mbstring.so
-rw-r--r--  1 root  wheel    38200 Apr  7 21:50 mcrypt.so
-rw-r--r--  1 root  wheel    42160 Apr  7 21:50 mysql.so
-rw-r--r--  1 root  wheel   110124 Apr  7 21:50 mysqli.so
-rw-r--r--  1 root  wheel   127976 Apr  7 21:50 opcache.so
-rw-r--r--  1 root  wheel   123696 Apr  7 21:50 openssl.so
-rw-r--r--  1 root  wheel   127288 Apr 26 09:37 pdf.so
-rw-r--r--  1 root  wheel    85708 Apr  7 21:52 pdo.so
-rw-r--r--  1 root  wheel    21736 Apr  7 21:52 pdo_mysql.so
-rw-r--r--  1 root  wheel    20232 Apr  7 21:54 pdo_sqlite.so
-rw-r--r--  1 root  wheel   253348 Apr  7 21:54 phar.so
-rw-r--r--  1 root  wheel    21512 Apr  7 21:54 posix.so
-rw-r--r--  1 root  wheel    66764 Apr  7 21:54 session.so
-rw-r--r--  1 root  wheel    48912 Apr  7 21:54 simplexml.so
-rw-r--r--  1 root  wheel    74980 Apr  7 21:54 sockets.so
-rw-r--r--  1 root  wheel    37012 Apr  7 21:55 sqlite3.so
-rw-r--r--  1 root  wheel    15036 Apr  7 21:55 tokenizer.so
-rw-r--r--  1 root  wheel    42116 Apr  7 21:55 xml.so
-rw-r--r--  1 root  wheel    28168 Apr  7 21:55 xmlreader.so
-rw-r--r--  1 root  wheel    36336 Apr  7 21:55 xmlwriter.so
-rw-r--r--  1 root  wheel    45608 Apr  7 21:55 zip.so
-rw-r--r--  1 root  wheel    28896 Apr  7 21:55 zlib.so
ls -la /usr/local/etc/php/

Код: Выделить всё

total 164
drwxr-xr-x   2 root  wheel  1536 Apr 27 19:11 .
drwxr-xr-x  33 root  wheel  2048 Apr 27 14:32 ..
-rw-r--r--   1 root  wheel    26 Apr  7 21:50 ext-10-opcache.ini
-rw-r--r--   1 root  wheel    21 Apr  7 21:54 ext-18-session.ini
-rw-r--r--   1 root  wheel    17 Apr  7 21:36 ext-20-bz2.ini
-rw-r--r--   1 root  wheel    22 Apr  7 21:36 ext-20-calendar.ini
-rw-r--r--   1 root  wheel    19 Apr  7 21:36 ext-20-ctype.ini
-rw-r--r--   1 root  wheel    18 Apr  7 21:36 ext-20-curl.ini
-rw-r--r--   1 root  wheel    17 Apr  7 21:36 ext-20-dom.ini
-rw-r--r--   1 root  wheel    18 Apr  7 21:36 ext-20-exif.ini
-rw-r--r--   1 root  wheel    20 Apr 27 19:10 ext-20-ffmpeg.ini
-rw-r--r--   1 root  wheel    22 Apr  7 21:37 ext-20-fileinfo.ini
-rw-r--r--   1 root  wheel    20 Apr  7 21:37 ext-20-filter.ini
-rw-r--r--   1 root  wheel    17 Apr  7 21:37 ext-20-ftp.ini
-rw-r--r--   1 root  wheel    16 Apr 27 17:35 ext-20-gd.ini
-rw-r--r--   1 root  wheel    21 Apr  7 21:47 ext-20-gettext.ini
-rw-r--r--   1 root  wheel    18 Apr  7 21:47 ext-20-hash.ini
-rw-r--r--   1 root  wheel    19 Apr  7 21:47 ext-20-iconv.ini
-rw-r--r--   1 root  wheel    21 Apr 27 13:58 ext-20-imagick.ini
-rw-r--r--   1 root  wheel    18 Apr  7 21:48 ext-20-imap.ini
-rw-r--r--   1 root  wheel    18 Apr  7 21:49 ext-20-json.ini
-rw-r--r--   1 root  wheel    22 Apr  7 21:49 ext-20-mbstring.ini
-rw-r--r--   1 root  wheel    20 Apr  7 21:50 ext-20-mcrypt.ini
-rw-r--r--   1 root  wheel    19 Apr  7 21:50 ext-20-mysql.ini
-rw-r--r--   1 root  wheel    20 Apr  7 21:50 ext-20-mysqli.ini
-rw-r--r--   1 root  wheel    21 Apr  7 21:50 ext-20-openssl.ini
-rw-r--r--   1 root  wheel    17 Apr  7 21:52 ext-20-pdo.ini
-rw-r--r--   1 root  wheel    19 Apr  7 21:54 ext-20-posix.ini
-rw-r--r--   1 root  wheel    23 Apr  7 21:54 ext-20-simplexml.ini
-rw-r--r--   1 root  wheel    21 Apr  7 21:54 ext-20-sockets.ini
-rw-r--r--   1 root  wheel    21 Apr  7 21:55 ext-20-sqlite3.ini
-rw-r--r--   1 root  wheel    23 Apr  7 21:55 ext-20-tokenizer.ini
-rw-r--r--   1 root  wheel    17 Apr  7 21:55 ext-20-xml.ini
-rw-r--r--   1 root  wheel    23 Apr  7 21:55 ext-20-xmlwriter.ini
-rw-r--r--   1 root  wheel    17 Apr  7 21:55 ext-20-zip.ini
-rw-r--r--   1 root  wheel    18 Apr  7 21:55 ext-20-zlib.ini
-rw-r--r--   1 root  wheel    17 Apr 26 09:37 ext-30-pdf.ini
-rw-r--r--   1 root  wheel    23 Apr  7 21:52 ext-30-pdo_mysql.ini
-rw-r--r--   1 root  wheel    24 Apr  7 21:54 ext-30-pdo_sqlite.ini
-rw-r--r--   1 root  wheel    18 Apr  7 21:54 ext-30-phar.ini
-rw-r--r--   1 root  wheel    23 Apr  7 21:55 ext-30-xmlreader.ini
php -m

Код: Выделить всё

[PHP Modules]
bz2
calendar
Core
ctype
curl
date
dom
ereg
exif
ffmpeg
fileinfo
filter
ftp
gd
gettext
hash
iconv
imagick
imap
json
libxml
mbstring
mcrypt
mhash
mysql
mysqli
mysqlnd
openssl
pcre
PDFlib
PDO
pdo_mysql
pdo_sqlite
Phar
posix
Reflection
session
SimpleXML
sockets
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache
pkg info | grep "php"

Код: Выделить всё

mod_php56-5.6.30               PHP Scripting Language
php5-ffmpeg-0.6.0.20120114_4   FFmpeg shared extension for php
php56-5.6.30                   PHP Scripting Language
php56-bz2-5.6.30               The bz2 shared extension for php
php56-calendar-5.6.30          The calendar shared extension for php
php56-ctype-5.6.30             The ctype shared extension for php
php56-curl-5.6.30              The curl shared extension for php
php56-dom-5.6.30               The dom shared extension for php
php56-exif-5.6.30              The exif shared extension for php
php56-extensions-1.0           "meta-port" to install PHP extensions
php56-fileinfo-5.6.30          The fileinfo shared extension for php
php56-filter-5.6.30            The filter shared extension for php
php56-ftp-5.6.30               The ftp shared extension for php
php56-gd-5.6.30                The gd shared extension for php
php56-gettext-5.6.30           The gettext shared extension for php
php56-hash-5.6.30              The hash shared extension for php
php56-iconv-5.6.30             The iconv shared extension for php
php56-imap-5.6.30              The imap shared extension for php
php56-json-5.6.30              The json shared extension for php
php56-mbstring-5.6.30          The mbstring shared extension for php
php56-mcrypt-5.6.30            The mcrypt shared extension for php
php56-mysql-5.6.30             The mysql shared extension for php
php56-mysqli-5.6.30            The mysqli shared extension for php
php56-opcache-5.6.30           The opcache shared extension for php
php56-openssl-5.6.30           The openssl shared extension for php
php56-pdo-5.6.30               The pdo shared extension for php
php56-pdo_mysql-5.6.30         The pdo_mysql shared extension for php
php56-pdo_sqlite-5.6.30        The pdo_sqlite shared extension for php
php56-phar-5.6.30              The phar shared extension for php
php56-posix-5.6.30             The posix shared extension for php
php56-session-5.6.30           The session shared extension for php
php56-simplexml-5.6.30         The simplexml shared extension for php
php56-sockets-5.6.30           The sockets shared extension for php
php56-sqlite3-5.6.30           The sqlite3 shared extension for php
php56-tokenizer-5.6.30         The tokenizer shared extension for php
php56-xml-5.6.30               The xml shared extension for php
php56-xmlreader-5.6.30         The xmlreader shared extension for php
php56-xmlwriter-5.6.30         The xmlwriter shared extension for php
php56-zip-5.6.30               The zip shared extension for php
php56-zlib-5.6.30              The zlib shared extension for php
Помогите настроить, чтобы было ffmpeg-php gd support => enabled
Замучал весь гугл с яндексом, вычитал, ничего толкового не нашел, не обессутьте.
Если от меня нужна будет дополнительная техническая информация - выложу.

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35456
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

PHP 5.6 + ffmpeg-php

Непрочитанное сообщение Alex Keda » 2018-03-19 0:13:38

в смысле?
модуль у вас загружен, всё должно работать
Убей их всех! Бог потом рассортирует...