Reputation:
I try to clone and install this repository OCPlatform I have create a database named symfoni and renamed the file parameters.yml and update like this:
parameters:
database_driver: pdo_mysql
database_host: 127.0.0.1
database_port: ~
database_name: symfoni
database_user: symfoni
database_password: symfoni
mailer_transport: smtp
mailer_host: 127.0.0.1
mailer_user: ~
mailer_password: ~
locale: en
secret: ThisIsAChangedSecret
debug_toolbar: true
debug_redirects: false
use_assetic_controller: true
but when I try the command line
> php composer.phar install
, when I use this command this one generate an error:
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
- Installation request for symfony/icu v1.2.2 -> satisfiable by symfony/icu[v1.2.2].
- symfony/icu v1.2.2 requires ext-intl * -> the requested PHP extension intl is missing from your system.
Problem 2
- symfony/icu v1.2.2 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- symfony/symfony v2.5.3 requires symfony/icu ~1.0 -> satisfiable by symfony/icu[v1.2.2].
- Installation request for symfony/symfony v2.5.3 -> satisfiable by symfony/symfony[v2.5.3].
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
How can I patch this error ?
Thanks in advance
Upvotes: 0
Views: 106
Reputation: 5679
it requires php extension intl
the requested PHP extension intl is missing from your system.
try to install it and restart services (php, apache..):
#for centos, rhel
yum install php-intl
#for debian, ubuntu
apt-get install php-intl
Upvotes: 1