Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Apr 2000 09:39:31 +0000
From:      Yamin Prabudy <min@starindo.net>
To:        Danny <dannyh@idx.com.au>, FreeBSD <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Apache + PHP - PHP not working?
Message-ID:  <38EEFE53.39F8B188@starindo.net>
References:  <005901bf9ff6$f3bd3da0$0500a8c0@teamsoftech.com> <00040817555300.00735@freebsd.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Chek your httpd.conf the AddType application/x-httpd-php .php .php3
must be uncomment

-Yamin-

Danny wrote:
> 
> Hello
> 
> Have you tried creating a test php file like so . Type vi index.php3 create
> your own code. like so
> 
> <html>
> <body>
>  <?php
> 
>                       $myvar = "Hello World";
> 
>                       echo $myvar;
> 
>                       ?>
> 
>                       </body>
> 
>                       </html>
> 
> You should see Hello World not a "file save as"
> 
> On Fri, 07 Apr 2000, Kai Peters wrote:
> > Hi:
> >
> > FreeBSD 4.0 Release:
> >
> > I installed apache+php-1.3.12+3.0.15, apache seems to work
> > fine. However, php code seems go unnoticed.
> >
> > /var/log/apache_error_log shows notices that PHP/3.0.15 is
> > being configured and that normal operations are resumed.
> >
> > Have created php3.ini. Something else needs to be done?
> > Any pointers for me?
> >
> > TIA,
> > Kai
> >
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> --
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38EEFE53.39F8B188>