2015-10-05 7 views
1

Когда я пытаюсь установить композитор , я получил следующую ошибку. Фактически все модули установлены.проблемы с компоновщиком

По моим сведениям, будут два конфигурационных файла (apache2 & cli).

в обоих конфигурационных файлах модули включены. Если я столкнулся с этой проблемой.

Problem 1 
    - The requested PHP extension ext-gd * is missing from your system. 
    Problem 2 
    - The requested PHP extension ext-mcrypt * is missing from your system. 
    Problem 3 
    - The requested PHP extension ext-curl * is missing from your system. 
    Problem 4 
    - The requested PHP extension ext-intl * is missing from your system. 
    Problem 5 
    - The requested PHP extension ext-xsl * is missing from your system. 
    Problem 6 
    - The requested PHP extension ext-mbstring * is missing from your system. 
    Problem 7 
    - Installation request for braintree/braintree_php 2.39.0 -> satisfiable by braintree/braintree_php[2.39.0]. 
    - braintree/braintree_php 2.39.0 requires ext-curl * -> the requested PHP extension curl is missing from your system. 
    Problem 8 
    - Installation request for pelago/emogrifier v0.1.1 -> satisfiable by pelago/emogrifier[v0.1.1]. 
    - pelago/emogrifier v0.1.1 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. 

, когда я пытаюсь обновить/установить

sudo apt-get install php5-curl 

Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
php5-curl is already the newest version. 
The following packages were automatically installed and are no longer required: 
    linux-headers-3.13.0-46 linux-headers-3.13.0-46-generic 
    linux-image-3.13.0-46-generic linux-image-extra-3.13.0-46-generic 
    sendmail-base sendmail-cf sensible-mda 
Use 'apt-get autoremove' to remove them. 
0 upgraded, 0 newly installed, 0 to remove and 54 not upgraded. 

обновление: PHP -v

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-zts-20121212/php_mbstring.dll' - /usr/lib/php/extensions/no-debug-zts-20121212/php_mbstring.dll: cannot open shared object file: No such file or directory in Unknown on line 0 

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-zts-20121212/php_mbstring.dll' - /usr/lib/php/extensions/no-debug-zts-20121212/php_mbstring.dll: cannot open shared object file: No such file or directory in Unknown on line 0 
PHP 5.5.9 (cli) (built: Sep 8 2015 18:01:37) 
Copyright (c) 1997-2014 The PHP Group 
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies 
+0

Может показаться глупым вопросом, но вы проверили, разрешены ли расширения в вашем php.ini? – TobiasJ

ответ

0

Попробуйте использовать php -m, чтобы убедиться, что модули были включены в вашей php-установке.

Если их нет в списке, вы должны добавить их в свой php.ini.

+0

модулей не указана .i включена в php.ini также –

+0

Вы уверены, что отредактировали правильный php.ini? Возможно, на вашем сервере имеется более одной версии php.ini или более php. – Jerodev

+0

Как проверить, сколько php.ini-файлов и путей вы можете дать некоторое представление? –