ubuntuBubuntu
ubuntuBubuntu

Reputation: 99

Could not open input file: symfony

Environment: Windows 10, WAMP. I'm trying to install symfony 3 and to have opportunity to execut it globally. I want just to type in cmd in any directory

php symfony new new_project

I made all rules according to documentation http://symfony.com/doc/current/setup.html

But I always take the error: "Could not open input file: symfony"

I made symfony.bat and write there

@echo off & php "symfony" %*

I moved the files symfony and symfony.bat to thew directory which is in environment variable Path.

Nothing helped me!

Does anyone has suggestions?

Upvotes: 4

Views: 1256

Answers (1)

حمید
حمید

Reputation: 153

It is better to use composer. get it from here and install symfony by this:

composer create-project symfony/framework-standard-edition my_project_name

for more information see this.

Upvotes: 3

Related Questions