|
|
|
[CentOS] Установка расширения rar в PHP
|
|||
|---|---|---|---|
|
#18+
Всем привет. Пытаюсь установить расширение rar при вводе команды "pecl install rar" в терминал выводится следующие: WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update downloading rar-3.0.1.tgz ... Starting to download rar-3.0.1.tgz (256,638 bytes) .....................................................done: 256,638 bytes 125 source files, building running: phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 building in /var/tmp/pear-build-rootJ4Eoht/rar-3.0.1 running: /var/tmp/rar/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... i686-redhat-linux-gnu checking host system type... i686-redhat-linux-gnu checking target system type... i686-redhat-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib checking for PHP extension directory... /usr/lib/php/modules checking for PHP installed headers prefix... /usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking whether to enable rar support... yes, shared checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details. ERROR: `/var/tmp/rar/configure' failed Пробовал вручную устанавливать, результат один, в папке с модулями я не наблюдаю файла rar.so, и функции (rar_open и остальные) по работе с расширением не работают. Задача проста, необходимо разархивировать архив с расширением .rar. Подскажите в чем может быть загвоздка? Тех. поддержка пишет что таким не занимаются. В гугле смотрел, у всех все просто, прописал команду - всё работает. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.05.2013, 15:21 |
|
||
|
[CentOS] Установка расширения rar в PHP
|
|||
|---|---|---|---|
|
#18+
Уточню задачу: разархивировать средствами PHP. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.05.2013, 15:23 |
|
||
|
[CentOS] Установка расширения rar в PHP
|
|||
|---|---|---|---|
|
#18+
JOIN, Вас не смущает Код: plaintext 1. ? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.05.2013, 18:32 |
|
||
|
[CentOS] Установка расширения rar в PHP
|
|||
|---|---|---|---|
|
#18+
JOINУточню задачу: разархивировать средствами PHP. В гугле смотрел, у всех все просто, прописал команду - всё работает. Это потому, что в php есть функция system(). Все остальное - нинужно (tm). ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.05.2013, 19:30 |
|
||
|
|

start [/forum/topic.php?fid=25&msg=38257197&tid=1482983]: |
0ms |
get settings: |
9ms |
get forum list: |
11ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
205ms |
get topic data: |
12ms |
get forum data: |
2ms |
get page messages: |
61ms |
get tp. blocked users: |
1ms |
| others: | 13ms |
| total: | 322ms |

| 0 / 0 |

Извините, этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
... ля, ля, ля ...