Symfony 2安装问题

时间:2015-05-31 06:45:52

标签: php symfony installation

我是Symfony 2的新用户。我正在使用Windows 8.我正在尝试安装Symfony 2.我的htodcs的位置是D:\php\htdocs。我的作曲家的位置是D:\php\php\composer.phar。我正在尝试使用此命令D:\php\htdocs>php D:\php\php\composer.phar create-project symfony/framework-standard-edition my_symfony安装Symfony 2。执行此命令时,我收到以下消息。

enter image description here

执行该命令后,我在CMD中收到了以下消息。

Warning: PHP Startup: Unable to load dynamic library 'D:\php\php\ext\intl.so' -
The specified module could not be found.
 in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'D:\php\php\ext\intl.so' -
The specified module could not be found.
 in Unknown on line 0
Clearing the cache for the dev environment with debug true

Warning: PHP Startup: Unable to load dynamic library 'D:\php\php\ext\intl.so' -
The specified module could not be found.
 in Unknown on line 0
Trying to install assets as symbolic links.
Installing assets for Symfony\Bundle\FrameworkBundle into web/bundles/framework
It looks like your system doesn't support relative symbolic links, so the assets
 were installed by using absolute symbolic links.
Installing assets for Sensio\Bundle\DistributionBundle into web/bundles/sensiodi
stribution
It looks like your system doesn't support relative symbolic links, so the assets
 were installed by using absolute symbolic links.

如果我浏览http://localhost/my_symfony/web/app_dev.php

然后我遇到了以下错误

enter image description here

enter image description here

谁能说什么可以解决?

由于

1 个答案:

答案 0 :(得分:0)

由于某些原因,php无法访问intl.so扩展名。可能是安装了扩展程序,但php没有权限访问它,或者你应该自己安装它。一些建议,Windows操作系统在Web开发方面并不是那么受欢迎。您很难搜索可以在Windows中应用的答案,这也适用于未来的问题。使用基于unix的操作系统进行开发。