Я пытался установить composer.phar
на мой сайт HostGator
. Тем не менее, я наткнулся на эту ошибку:Установка composer.phar
[~/public_html/flarum]# php composer.phar install
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- flarum/core v0.1.0-beta.4 requires php >=5.5.9 -> your PHP version (5.4.45) or value of "config.platform.php" in composer.json does not satisfy that requirement.
- flarum/core v0.1.0-beta.3 requires php >=5.5.9 -> your PHP version (5.4.45) or value of "config.platform.php" in composer.json does not satisfy that requirement.
- flarum/flarum-ext-suspend v0.1.0-beta.3 requires flarum/core ^0.1.0-beta.3 -> satisfiable by flarum/core[v0.1.0-beta.3, v0.1.0-beta.4].
- Installation request for flarum/flarum-ext-suspend ^0.1.0 -> satisfiable by flarum/flarum-ext-suspend[v0.1.0-beta.3].
Я обновил мой PHP
к новейшим через cPanel
.
Если у вас есть какая-либо помощь, я мог бы с этим похвастаться.
какая вывод '/ usr/bin/env php -v'? – Federkun
Возможный дубликат [Как использовать PHP Composer on HostGator] (http://stackoverflow.com/questions/13887666/how-to-use-php-composer-on-hostgator) –
Есть ли «платформа» «config» в 'composer.json' –