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

Posted 01coding.com

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Symfony没有安装依赖_PHP Fatal error: require(): Failed opening required相关的知识,希望对你有一定的参考价值。

$ 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的主要内容,如果未能解决你的问题,请参考以下文章

PHP Fatal error: Call to undefined function imagettftext()

Fatal error: Call to undefined function curl_init()问题

PHP学习过程_Symfony__整理_十分钟学会Symfony

如何使用相互依赖的作曲家同时安装 2 个 Symfony 包

[php] Fatal error: Class Exception not found in

php_Symfony_项目实战全过程记录