2015-06-13 14:16
浏览 129


I am trying to use Symfony2 with a local wamp server. I used

php -r "readfile('http://symfony.com/installer');" > symfony

I moved the symfony file to C:\wamp\www\test.


php symfony
php symfony new myProject

But this message appear

Warning: include(phar://C:/wamp/www/Symfony/symfony/vendor/symfony/process/Symfo
ny/Component/Process/ProcessUtils.php): failed to open stream: phar error: Canno
t open phar archive "C:/wamp/www/Symfony/symfony" for reading in phar://C:/wamp/
www/Symfony/symfony/vendor/composer/ClassLoader.php on line 412

The line 412 is

function includeFile($file)
    include $file;

Why did I have an error during the installation ? I did not perform any other actions except following the instructions on the official website.

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

1条回答 默认 最新

相关推荐 更多相似问题