PHP - -bash: pecl: command not found

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Перейти к:навигация, поиск


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