Re: Help!

From: Date: Thu, 04 Jul 2002 08:33:35 +0000
Subject: Re: Help!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-105394@lists.php.net to get a copy of this message
John Lazos wrote:
and i put the file in my htdocs directory i restarted apache and when i'm trying to access the page http://localhost/hello.php as a result i'm getting the contents of the file hello.,php
What is wrong is my apache able to display php pages?
Looks like Apache does not know about PHP :) in your /usr/local/apache/conf/httpd.conf file (or another path, if you have set another prefix while compiling the tarball) you seem to miss this:
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php .phtml
    AddType application/x-httpd-php .php3
    AddType application/x-httpd-php-source .phps
have fun :)) Alberto Kiev -- @-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@ LoRd, CaN yOu HeAr Me, LiKe I'm HeArInG yOu? lOrD i'M sHiNiNg... YoU kNoW I AlMoSt LoSt My MiNd, BuT nOw I'm HoMe AnD fReE tHe TeSt, YeS iT iS ThE tEsT, yEs It Is tHe TeSt, YeS iT iS ThE tEsT, yEs It Is.......

« previous php.general (#105394) next »