Star2Billing / a2billing

A2Billing is a telecom switch and billing system capable of providing and billing a range of telecom products and services to customers such as calling card products, residential and wholesale VoIP termination, DID resale and callback services.
www.asterisk2billing.org
Other
180 stars 174 forks source link

php composer.phar install gives errors on Centos 6 #122

Open hostile123 opened 8 years ago

hostile123 commented 8 years ago

[root@vodeoo a2billing]# php composer.phar update Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1

Potential causes:

Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems. [root@vodeoo a2billing]# php composer.phar install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Your requirements could not be resolved to an installable set of packages.

Problem 1

hostile123 commented 8 years ago

Ubuntu 14.04 the same

root@vodeoo:/usr/src/a2billing# php composer.phar update Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1

Potential causes:

Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.

miken32 commented 7 years ago

This is pretty obvious:

symfony/yaml v2.7.2 requires php >=5.3.9 -> your PHP version (5.3.3) or "config.platform.php" value does not satisfy that requirement.

5.3.3 was release in July 2010!

chris001 commented 7 years ago

The solution is to upgrade your php. How to upgrade php on centos 6:

$ yum --enablerepo=extras install  centos-release-scl
$ yum install   httpd24  rh-php56   rh-php56-php

More: https://www.centos.org/forums/viewtopic.php?t=57019