Фатальная ошибка PHP: Звоните в ГРУШУ неопределенного метода:: raiseErro () в/usr/share/php/PEAR/REST.php на строке 165

при выполнении

  • грушевое обновление

следующая ошибка повышена:

PHP Fatal error:  Call to undefined method PEAR::raiseErro() in /usr/share/php/PEAR/REST.php on line 165
PHP Stack trace:
PHP   1. {main}() /usr/share/php/pearcmd.php:0
PHP   2. PEAR_Command_Common->run() /usr/share/php/pearcmd.php:305
PHP   3. PEAR_Command_Install->doInstall() /usr/share/php/PEAR/Command/Common.php:271
PHP   4. PEAR_Command_Install->doUpgradeAll() /usr/share/php/PEAR/Command/Install.php:547
PHP   5. PEAR_Command_Install->doInstall() /usr/share/php/PEAR/Command/Install.php:902
PHP   6. PEAR_Command_Install->_filterUptodatePackages() /usr/share/php/PEAR/Command/Install.php:619
PHP   7. PEAR_REST_10->listLatestUpgrades() /usr/share/php/PEAR/Command/Install.php:1233
PHP   8. PEAR_REST->retrieveData() /usr/share/php/PEAR/REST/10.php:649

какие-либо предложения, что вызывает это?

спасибо.

4
задан 30.04.2011, 16:41

1 ответ

У меня было это на Ubuntu 10.04, устанавливающей PHP-расширение монго. Провел некоторое исследование и попробовал это:

# pear search http
The value of config option cache_dir (/tmp/pear/cache) is not a directory and attempts to 
create the directory failed.

Когда я создал каталоги вручную:

mkdir -p /tmp/pear/cache
ошибка "ушла", и я смог установить: "pecl устанавливают монго".
9
ответ дан 07.12.2019, 19:30

Теги

Похожие вопросы