码迷,mamicode.com
首页 > Web开发 > 详细

Symfony没有安装依赖_PHP Fatal error: require(): Failed opening required

时间:2016-10-22 17:36:26      阅读:3817      评论:0      收藏:0      [点我收藏+]

标签:几分钟   没有   curl   win   open   http   include   fatal   pos   

$ php bin/console server:run
PHP Warning:  require(D:\home\workspace\pd\app/../vendor/autoload.php):
 failed to open stream: No such file or directory in D:\home\workspace\pinda\pin
da\app\autoload.php on line 7
PHP Fatal error:  require(): Failed opening required D:\home\workspace\p
d\app/../vendor/autoload.php (include_path=.;D:\php-5.5.30-nts-Win32-VC11-x6
4\pear) in D:\home\workspace\pd\app\autoload.php on line 7

这个错误是因为没有安装依赖;

执行

$ php composer.phar install

如果没有composer,那么需要安装composer,

执行命令:

$curl -sS https://getcomposer.org/installer | php

 

好了

过程大概十几分钟吧;

ok!!!!!!!!!!!!!

Symfony没有安装依赖_PHP Fatal error: require(): Failed opening required

标签:几分钟   没有   curl   win   open   http   include   fatal   pos   

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

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