Symfony2在安装过程中失败

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.

And

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个回答



为什么不使用composer?作曲家制作的不仅仅是“symfony”命令文件。</ p>
</ div >

展开原文

原文

Why don't you use composer?The composer make more than "symfony" command file.

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐