![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
15/06/2002, 22:54
|
![Avatar de DarkZero](http://static.forosdelweb.com/customavatars/avatar21177_1.gif) | | | Fecha de Ingreso: junio-2002 Ubicación: Chile
Mensajes: 52
Antigüedad: 22 años, 8 meses Puntos: 0 | |
Re: Tengo problemas probando php puede ser que no tienes bien configurado el php dentro del httpd.conf
en directory index pones esto:
DirectoryIndex index.html index.htm index.php index.php3 index.php4 index.phtml index.html.var
en script alias debes poner lo siguiente:
ScriptAlias /ruta_php/ "/apache/ruta_apache/"
en add type debes agregar estas lineas:
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .phtml
y en action pones:
Action application/x-httpd-php /ruta_apache/php.exe
entonce si pusiste bien estas lineas, y pusistes las rutas correctamente, los archivos en php deberian ser ejecutados por php y mostrados como archivo de texto ya parseado
espero que te sirva Dark Zero |