![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
01/07/2002, 11:45
|
| | Fecha de Ingreso: marzo-2002
Mensajes: 4
Antigüedad: 22 años, 11 meses Puntos: 0 | |
Re: PHP en Linux RedHat Hola !!!
He probado lo que me has dicho y aparentemente funciona bien (vamos que no da ningun error), pero al intentar abrir la pagina php aparece el texto y no la pagina.
He comprobado el contenido del fichero httpd.config, para ver si los tipos MIME estan bien, y las lineas que se refieren al PHP son las siguientes:
<IfDefine HAVE_PHP>
LoadModule php_module modules/mod_php.so
</IfDefine>
<IfDefine HAVE_PHP3>
LoadModule php3_module modules/libphp3.so
</IfDefine>
<IfDefine HAVE_PHP4>
LoadModule php4_module modules/libphp4.so
</IfDefine>
<IfDefine HAVE_PHP>
AddModule mod_php.c
</IfDefine>
<IfDefine HAVE_PHP3>
AddModule mod_php3.c
</IfDefine>
<IfDefine HAVE_PHP4>
AddModule mod_php4.c
</IfDefine>
<IfModule mod_php4.c>
AddType application/x-httpd-php .php .php4 .php3 .phtml
AddType application/x-httpd-php-source .phps
</IfModule>
<IfModule mod_php3.c>
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .phps
</IfModule>
<IfModule mod_php.c>
AddType application/x-httpd-php .phtml
</IfModule>
No se que es lo que puede estar mal.
De todos modos gracias por el intento.
Un saludo,
Monica |