Diferencia entre revisiones de «Instalación Mapuche»

De Wiki
Saltar a: navegación, buscar
(Instalación Apache)
 
(No se muestran 11 ediciones intermedias del mismo usuario)
Línea 2: Línea 2:
  
 
===Carpetas donde instalaremos lo necesario===
 
===Carpetas donde instalaremos lo necesario===
  Crear Carpeta Php en c:/
+
  Crear Carpeta Php en c:/Php
  Crear Carpeya Apache en c:/
+
  Crear Carpeya Apache en c:/Apache
  
 
===Descargar postgres===
 
===Descargar postgres===
Línea 17: Línea 17:
  
 
=Instalacion y Configuracion=
 
=Instalacion y Configuracion=
==Instalación Postgres==
 
 
==Instalación Apache==
 
==Instalación Apache==
  
===Despues del último #LoadModule===
+
Buscamos el archivo httpd.conf generalmente se ubica en:
 +
C:\Apache\conf
 +
 
 +
====Despues del último #LoadModule====
  
  
 
  LoadModule php5_module "c:/php/php5apache2_2.dll"
 
  LoadModule php5_module "c:/php/php5apache2_2.dll"
 
  <IfModule php5_module>
 
  <IfModule php5_module>
AddType application/x-httpd-php .php
+
AddType application/x-httpd-php .php
PHPIniDir c:/php/
+
PHPIniDir c:/php/
DirectoryIndex index.php index.html
+
DirectoryIndex index.php index.html
 
  </IfModule>
 
  </IfModule>
 +
 +
 +
====Buscamo </Directory> ====
 +
 +
Despues de <IfModule dir_module>
 +
 +
=====Agregue index.php modificando la siguiente línea =====
 +
  DirectoryIndex index.html
 +
 +
=====Nos quedo===== 
 +
  DirectoryIndex index.php index.html
 +
 +
=====Verificación=====
 +
http://localhost/
  
 
==Instalación Php==
 
==Instalación Php==
 +
Copio php a la carpeta c:/php, no debo editar nada en el php.ini
 +
 +
==Instalación Postgres==

Revisión actual del 10:54 14 feb 2013

Necesitamos:

Carpetas donde instalaremos lo necesario

Crear Carpeta Php en c:/Php
Crear Carpeya Apache en c:/Apache

Descargar postgres

http://www.postgresql.org/
Versión que instale yo (Postgresql-8.3.15-1-windows.exe)

Descargar php

http://php.net/
Version que instale yo (php-5.3.21-Win32-VC9-x86.zip)

Descargar Apache

Version que instala yo (httpd-2.4.3-win32.zip)

Instalacion y Configuracion

Instalación Apache

Buscamos el archivo httpd.conf generalmente se ubica en:

C:\Apache\conf

Despues del último #LoadModule

LoadModule php5_module "c:/php/php5apache2_2.dll"
<IfModule php5_module>
AddType application/x-httpd-php .php
PHPIniDir c:/php/
DirectoryIndex index.php index.html
</IfModule>


Buscamo </Directory>

Despues de <IfModule dir_module>
Agregue index.php modificando la siguiente línea
  DirectoryIndex index.html
Nos quedo
  DirectoryIndex index.php index.html
Verificación
http://localhost/

Instalación Php

Copio php a la carpeta c:/php, no debo editar nada en el php.ini

Instalación Postgres