Re: [PHP4BETA] HELP! Getting PHP4 to work as CGI with Apache onFreeBSD
| From: | Brian Moon | Date: | Wed, 21 Jul 1999 16:16:49 +0000 |
| Subject: | Re: [PHP4BETA] HELP! Getting PHP4 to work as CGI with Apache onFreeBSD | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-2445@lists.php.net to get a copy of this message | ||
You caught me changing things in the email. Trying to avoid any discussions
about using html for php parsing, sorry.
Actual Stuff:
AddHandler php4 html
Action php4 /usr/local/bin/php
Got:
The requested URL /usr/local/bin/php4/test/info.html was not found on this
server.
Brian Moon
-------------------------------------------------------------------------
Phorum Dev Team - http://www.phorum.org
Making better forums with PHP
-------------------------------------------------------------------------
----- Original Message -----
From: Stig Bakken <ssb@fast.no>
To: Brian Moon <brian@phorum.org>
Cc: php4 <php4beta@lists.php.net>
Sent: Wednesday, July 21, 1999 11:16 AM
Subject: Re: [PHP4BETA] HELP! Getting PHP4 to work as CGI with Apache
onFreeBSD
> You configure the .php file ending to trigger /usr/local/bin/php, but you
> are testing with "info.html"?
>
> - Stig
>
> On Wed, 21 Jul 1999, Brian Moon wrote:
>
> > Tried:
> >
> > AddHandler php4 php
> > Action php4 /usr/local/bin/php
> >
> > Got:
> >
> > The requested URL /usr/local/bin/php4/test/info.html was not found on
this
> > server.
> >
> > Need help guys... :)
> >
> > Brian Moon
>
> -------------------------------------------------------------------------
> > Phorum Dev Team - http://www.phorum.org
> > Making better forums with PHP
>
> -------------------------------------------------------------------------
> >
> >
> > ----- Original Message -----
> > From: Brian Moon <brian@phorum.org>
> > To: php4 <php4beta@lists.php.net>
> > Sent: Wednesday, July 21, 1999 10:17 AM
> > Subject: [PHP4BETA] Getting PHP4 to work as CGI with Apache on FreeBSD
> >
> >
> > > I did this:
> > >
> >
./configure --with-mysql --with-config-file-path --enable-force-cgi-redirect
> > > =yes --enable-discard-path=yes
> > > make
> > > make install
> > >
> > > so, I have a php binary in /usr/local/bin
> > >
> > > Now, what do I put in my (or can I use a) .htaccss file to make apache
> > send
> > > .php files through php4? I tried several concoctions with no success.
> > >
> > > Brian Moon
> >
> -------------------------------------------------------------------------
> > > Phorum Dev Team - http://www.phorum.org
> > > Making better forums with PHP
> >
> -------------------------------------------------------------------------
> > >
> > >
> > >
> > >
> > > --
> > > PHP 4 Beta
> > >
> > >
> >
> >
> > --
> > PHP 4 Beta
> >
>
>