Creating Symfony2 project with netbeans ide 7.2.1

Some notes:

  1. Make sure you set the php right in Netbeans options.
  2. No need to decompress the archive file!
  3. You need php 5.3 and later to run this!

Download symfony2 from:http://symfony.com/download

Linux command: –namespace=”[namespace name]/[bundlename]” –bundle-name=”[bundlename]” –format=”yml” –dir=”src”

Mode rewrite for apache: apt-get a2enmod rewrite.

Don’t forget to edit the /etc/apache2/sites-enabled/000-default file, make sure the AllowOverride is set to “All”.