Reputation:
I've been trying to install composer.phar
to my HostGator
website. However, I come across this error:
[~/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].
I have updated my PHP
to the newest via the cPanel
.
If there is any help at all that I could get on this it would be greatly appreciated!
Upvotes: 2
Views: 17588
Reputation: 488
You can refer this link http://laravel.io/forum/02-13-2014-how-to-install-laravel-on-a-hostgator-shared-server
and install flarum with following ~/composer create-project flarum/flarum ~/public_html/flarum --stability=beta
Upvotes: 1
Reputation: 41737
Your PHP version is too low for Flarum. You need 55 or better 56.
Enable and use a higher PHP version on HostGator.
To find the other PHP versions take a look at the /opt/
folder.
# /opt/php56/bin/php composer.phar install
Upvotes: 2