码迷,mamicode.com
首页 > 其他好文 > 详细

跑github上的Symfony项目遇到的问题

时间:2016-10-26 00:34:31      阅读:325      评论:0      收藏:0      [点我收藏+]

标签:问题   mysql   pos   als   hub   form   min   miss   github   

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.4.10 requires symfony/icu ~1.0 -> satisfiable by symfon
y/icu[v1.2.2].
    - Installation request for symfony/symfony v2.4.10 -> satisfiable by symfony
/symfony[v2.4.10].

  To enable extensions, verify that they are enabled in those .ini files:
    - C:\php5\php-5.5.30-nts-Win32-VC11-x64\php.ini
  You can also run `php --ini` inside terminal to see which files are used by PH
P in CLI mode.

错误信息如上: 今天跑了一个github上的基于Symfony的项目,安装依赖的时候遇到的错误信息:

(下载的项目当然要先安装依赖了)

解决办法: 进入php的安装目录找到php.ini这个配置文件:

找到这个一行“;extension=php_intl.dll” 然后去掉前面的分号 “extension=php_intl.dll” 保存就好了;

如下:


extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_gmp.dll
extension=php_intl.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_ldap.dll
extension=php_mbstring.dll  --去掉这一行前面的分号就ok了!
;extension=php_exif.dll      ; Must be after mbstring as it depends on it
;extension=php_mysql.dll

https://www.orocrm.com/forums/topic/php-intl-extension-not-available-issue参考人家的解决

 

跑github上的Symfony项目遇到的问题

标签:问题   mysql   pos   als   hub   form   min   miss   github   

原文地址:http://www.cnblogs.com/Amos-Turing/p/5998726.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!