[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: cargar modulo php en apache



> Queria consultarle sobre que puede estar pasando..
> que no se mecargan las paginas con php
> 
> me lei varios tutos sobre como configurar apache y segui el siguiente:
> 
> despues de instalar todo lo que se nesecita:
> 
> 4- Editamos /etc/apache/httpd.conf y descomentamos las líneas:
> 
> * AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps
> *
> 5- Editamos /etc/apache/modules.conf y nos aseguramos que tenga esta
> línea:
> 
> * LoadModule php4_module /usr/lib/apache/1.3/libphp4.so*
> 
> despues reinicio apache.
> 
> Al probar http://localhost/prueba.php en el navegador
>  solo veo <?php phpinfo(); ?>
> 
> que pude estar fallando o faltando?
	___________________________________
Hola socio,

Pues en primer lugar asegurate de tener bien instalado php4:
   apt-get update
   apt-get install php4

Después descomenta en httpd.conf la siguiente línea:
   LoadModule php4_module /usr/lib/apache/1.3/libphp4.so

Además te irá bien en httpd.conf modificar la línea:
   DirectoryIndex index.html
Para dejarla así:
   DirectoryIndex index.html index.phtml

Espero que tengas suerte.

Un saludo.


----------------------------------------------------------------------------
----------------------------------------------------------------------------
------------------------------------
La información contenida en este correo electrónico es privada y
confidencial. Cualquier uso, modificación, difusión y/o reproducción por
parte de cualquier persona distinta del destinatario está prohibida. Si Vd.
recibe este mensaje por error, por favor bórrelo y comuníquelo al remitente.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
------------------------------------

This e-mail and any attachments are confidential and intended solely
for the addressee and may also be privileged or exempt from disclosure
under applicable law. If you are not the addressee, or have received
this e-mail in error, please notify the sender immediately, delete it
from your system and do not copy, disclose or otherwise act upon any
part of this e-mail or its attachments..

Internet communications are not guaranteed to be secure or virus-free.
The Barclays Group does not accept responsibility for any loss arising
from unauthorised access to, or interference with, any Internet
communications by any third party, or from the transmission of any
viruses. Replies to this e-mail may be monitored by the Barclays
Group for operational or business reasons..

Any opinion or other information in this e-mail or its attachments
that does not relate to the business of the Barclays Group is personal
to the sender and is not given or endorsed by the Barclays Group.

Barclays Bank PLC.Registered in England and Wales (registered no. 1026167).
Registered Office: 1 Churchill Place, London, E14 5HP, United Kingdom.

Barclays Bank PLC is authorised and regulated by the Financial Services Authority.



Reply to: