Instalar Symfony en Linux

De CidesaWiki

(Diferencias entre revisiones)
Saltar a navegación, buscar
Línea 36: Línea 36:
<pre>
<pre>
-
<VirtualHost *:80>
+
<VirtualHost *>
-
  ServerName myapp.example.com
+
ServerName miserver
-
   DocumentRoot "/home/steve/myproject/web"
+
   DocumentRoot "/home/lhernandez/fuentes/siga/web"
-
   DirectoryIndex index.php
+
   DirectoryIndex autenticacion_dev.php
-
   Alias /sf /$sf_symfony_data_dir/web/sf
+
   Alias /sf /usr/share/php/data/symfony/web/sf
-
   <Directory "/$sf_symfony_data_dir/web/sf">
+
   <Directory "/usr/share/php/data/symfony/web/sf">
     AllowOverride All
     AllowOverride All
     Allow from All
     Allow from All
   </Directory>
   </Directory>
-
   <Directory "/home/steve/myproject/web">
+
   <Directory "/home/lhernandez/fuentes/siga/web">
     AllowOverride All
     AllowOverride All
     Allow from All
     Allow from All
   </Directory>
   </Directory>
</VirtualHost>
</VirtualHost>
 +
</pre>
</pre>

Revisión de 16:04 2 abr 2007

Instalación para Debian/Ubuntu

       # php -v
     PHP 5.1.6 (cli) (built: Mar  7 2007 12:48:25) 
     Copyright (c) 1997-2006 The PHP Group
     Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
       # pear -V
     PEAR Version: 1.4.9
     PHP Version: 5.1.6
     Zend Engine Version: 2.1.0
     .....
       # pear channel-discover pear.symfony-project.com
     Adding Channel "pear.symfony-project.com" succeeded
     Discovery of channel "pear.symfony-project.com" succeeded


       # pear install symfony/symfony
     downloading symfony-1.0.1.tgz ...
     Starting to download symfony-1.0.1.tgz (1,911,013 bytes)
     .............................done: 1,911,013 bytes
     install ok: channel://pear.symfony-project.com/symfony-1.0.1
       # symfony -V
     symfony version 1.0.1
<VirtualHost *>
 ServerName miserver
  DocumentRoot "/home/lhernandez/fuentes/siga/web"
  DirectoryIndex autenticacion_dev.php
  Alias /sf /usr/share/php/data/symfony/web/sf
  <Directory "/usr/share/php/data/symfony/web/sf">
    AllowOverride All
    Allow from All
  </Directory>
  <Directory "/home/lhernandez/fuentes/siga/web">
    AllowOverride All
    Allow from All
  </Directory>
</VirtualHost>

Herramientas personales
Espacios de nombres
Variantes
Acciones
Navegación
Herramientas