Ver Mensaje Individual
  #2 (permalink)  
Antiguo 10/04/2006, 08:58
Avatar de jcxnet
jcxnet
 
Fecha de Ingreso: octubre-2005
Ubicación: Perú
Mensajes: 784
Antigüedad: 18 años, 6 meses
Puntos: 56
Tienes que hacer unos cambios en tu archivo httpd.conf de apache ,de manera que php funcione como módulo o como cgi, aqui las lineas que debes agregar si quieres usar php como cgi:
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
# For PHP 5
Action application/x-httpd-php "/php/php-cgi.exe"

si quieres usarlo como módulo:
# For PHP 5 do something like this:
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
# configure the path to php.ini
PHPIniDir "C:/php"

esto es para servidor apache version 2.x
__________________
►I'm a devil on the run ♂
Jcxnet.com
*Keep It Simple **