PHP - -bash: pecl: command not found

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Версия от 09:31, 12 октября 2019; Admin iph (обсуждение | вклад) (Новая страница: « === PHP - -bash: pecl: command not found === Ошибка: PHP - -bash: pecl: command not found или же sh: phpize: command not found If the command f…»)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к:навигация, поиск


PHP - -bash: pecl: command not found

Ошибка:

 PHP - -bash: pecl: command not found

или же

sh: phpize: command not found
If the command failed with 'phpize: not found' then you need to install php5-dev packageYou can do it by running 'apt-get install php5-dev' as a root userERROR: `phpize' failed


Решаем проблему на Debian так:

 # apt-get install php-pear php5-dev


Решаем проблему на CentOS так:

# yum install php-pear php-devel