:::: MENU ::::

HOWTO: Symfony 1.0.8 with Nginx on Ubunty Feisty VPS

Get Symfony


# pear channel-discover pear.symfony-project.com
# pear install symfony/symfony

Using the command:

# pear config-show

we find the symfony libraries have been installed in:

$php_dir/symfony/ /usr/share/php/symfony/ main libraries
$data_dir/symfony/ /usr/share/php/data/symfony/ skeleton of symfony applications, default modules and configuration
doc_dir/symfony/ /usr/share/php/docs/symfony/ documentationCreate / configure a new symfony application


# mkdir /var/www/myproject
# cd /var/www/myproject
# symfony init-project myproject
# symfony init-app myapp


# ln -s /etc/nginx/sites-available/wattprint.org /etc/nginx/sites-enabled/wattprint.org
# /etc/init.d/nginx restart


So, what do you think ?