0
I am trying to install Symfony on Windows 8, but I get the Windows message that "This application cannot run on your PC".
This occurs when, through the CLI, I try the command symfony generate:project symfony_project
on the way C: wamp www symfony_project
The idea is to install in WAMP, and I’m following the tutorials of the links:
- https://anandshahil11.wordpress.com/symfony-php-framwework-installation-on-windows-wamp/
- http://www.about-dev.com/symfony/35-how-to-install-symfony-in-a-wamp-server-project-and-make-it-work (in this case, I also tried using Composer, but the message is the same).
Would it be a version problem? Or is there another way to install?
If this error occurs it is because you have not set symfony in the PATH environment variable. Something else, you don’t actually need to create the folder
symfony_project
, when running generate it already does this, if you do this inside the folder it will look like this:C:\wamp\www\symfony_project\symfony_project
– Guilherme Nascimento
@Guilhermenascimento doesn’t really define Symfony in the PATH environment variable (in the tutorial it only talks about the variables ;C: wamp bin php php5.4.12;C: wamp bin mysql mysql5.6.12 bin - in my case). What the environment variable for Symfony would look like?
– Atoyansk