parallel installation of symfony 1.0 and symfony 1.1
- Install symfony 1.0 via PEAR as described in the symfony book.
symfony 1.1 installation
- sudo su -
- cd /usr/share/php/
- mkdir symfony1.1
- cd symfony1.1
- svn co http://svn.symfony-project.com/tags/RELEASE_1_1_0/ .
Apache configuration
Debian
vi /etc/apache2/sites-available/myVhost
Gentoo Linux
vi /etc/apache2/vhosts.d/00_default_vhost.conf
-
... Alias /sf /usr/share/php/symfony1.1/data/web/sf <Directory /usr/share/php/symfony1.1/data/web/sf> AllowOverride All Allow from All </Directory> ...
Restart Apache
apache2ctl restart
symfony 1.1 usage
- cd /var/www/myProject
- to use the symfony 1.1 cli you have to use ./symfony
symfony without the './' prefix points to the symfony 1.0 cli
.