Re: PHP not working with Apache
| From: | Andrew Durdin | Date: | Mon, 16 Sep 2002 12:20:07 +0000 |
| Subject: | Re: PHP not working with Apache | ||
| References: | 1 2 3 4 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-8466@lists.php.net to get a copy of this message | ||
I already have the line "AddType application/x-httpd-php .php" in my
httpd.conf file -- it makes no difference.
Andrew
----- Original Message -----
From: "Manoj Kumar Nair" <manoj@india.yokogawa.co.jp>
To: "Andrew Durdin" <andy@tavultesoft.com>
Sent: Monday, September 16, 2002 10:14 PM
Subject: Re: [PHP-INST] PHP not working with Apache
> recheck the apache configuration - open httpd.conf and go to the
> "Application-Type" part. ther you will find a line like
> application/ ....... tar ...gz
>
> so add this line below or above it -
>
> application-type/x-httpd-php .php ---> for php to work and
> appli..............................-phps .phps ----> for php source files
> to work
>
> save exit and restart apache it will work
>
> bye
>
> ----- Original Message -----
> From: "Andrew Durdin" <andy@tavultesoft.com>
> To: <php-install@lists.php.net>
> Cc: "Manoj Kumar Nair" <manoj@india.yokogawa.co.jp>
> Sent: Monday, September 16, 2002 5:22 PM
> Subject: Re: [PHP-INST] PHP not working with Apache
>
>
> > I copied php.ini-dist as you suggested, restarted apache, and still no
> luck
> > :(
> > Is it possible that php is looking in another place for the ini?
> >
> > Andrew
> >
> > ----- Original Message -----
> > From: "Manoj Kumar Nair" <manoj@india.yokogawa.co.jp>
> > Subject: Re: [PHP-INST] PHP not working with Apache
> >
> >
> > > hi andrew
> > >
> > > do this- copy the php-dist file in the distribution directory to
> > > /etc/php.ini and try it will work!!
> > > bye
> > > manoj
> > > ----- Original Message -----
> > > From: "Andrew Durdin" <andy@durdin.net>
> > > To: <php-install@lists.php.net>
> > > Sent: Monday, September 16, 2002 5:01 PM
> > > Subject: [PHP-INST] PHP not working with Apache
> > >
> > >
> > > > Hi,
> > > >
> > > > I've got Apache 1.3.26 up + running, with PHP 4.2.3 compiled into
it,
> > but
> > > > when I try to open a .php page, the server isn't passing it to
apache,
> > > > instead the browser tries to download it.
> > > > [clipped]
>
>