You already played with Symfony 1 or you never used it (SHAME ON YOU), and you want to install a fresh new 2.0.1 version of Symfony2 on Windows 7.
You are in the right place!
To be honest this new version is really easy to install.
Download a copy on the official website of Symfony2: http://symfony.com/download
We will install the 2.0.1 in the ZIP format.
Symply open the ZIP file and place all in the root of your web server, generally it is C:\www.
Now open a cmd window, go until C:\www\Symfony and type this:
php app/check.php
If you have PHP 5.3.8, you will have almost already all.
Just open the php.ini file and uncomment the lines:
OK all is ready now, except maybe for the APC accelerator, even if the Symfony2's script says that the APC version is at least 3.0.17.
Nevermind, let's continue!
Go on this website: http://downloads.php.net/pierre/
And download the right version for your PHP version.
If you followed the BadproG tutorial for installing PHP on Windows 7, you have to downlad this one:
Open it and copy the php_apc.dll in your ext PHP folder, for example:
Open your php.ini file, and add this line at the end of the extension lines:
Restart Apache HTTP.
You normally now have all OK if you run your Symfony2's script again.
So let's see this new version of Symfony2: http://localhost/Symfony/web/config.php
Do not forget the config.php at the end, or you will have a 404 error with the following message error:
Something is broken. Please e-mail us at [email] and let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.
Well done, Symfony2 is installed on your server!
Comments
Augusto Rojas (not verified)
Friday, May 4, 2012 - 6:30am
Permalink
I´m having problems with
I´m having problems with setting permissions to the app\cache directory. any ideas?
OS: win Vista
Mi-K
Friday, May 4, 2012 - 10:11am
Permalink
Hello Augusto,
Hello Augusto,
I think it is a User Account Control (UAC) problem.
Try to turn it off.
sawssen89 (not verified)
Wednesday, June 20, 2012 - 2:16am
Permalink
thank you so much
thank you so much