Diferencia entre revisiones de «Instalación Mapuche»

De Wiki
Saltar a: navegación, buscar
(Nos quedo)
(Instalación Php)
Línea 48: Línea 48:
  
 
==Instalación Php==
 
==Instalación Php==
 +
Copio php a la carpeta c:/php

Revisión del 10:53 14 feb 2013

Necesitamos:

Carpetas donde instalaremos lo necesario

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

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 Postgres

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