Re: [PHP4BETA] HELP! Getting PHP4 to work as CGI with Apache onFreeBSD

From: Date: Wed, 21 Jul 1999 16:32:00 +0000
Subject: Re: [PHP4BETA] HELP! Getting PHP4 to work as CGI with Apache onFreeBSD
References: 1 2 3  Groups: php.version4 
Request: Send a blank email to php-version4+get-2448@lists.php.net to get a copy of this message
Ok, so now I have: /usr/local/bin/php4 I have a symlink in cgi-bin to that binary in .htaccess: AddType application/x-http-php html Action application/x-httpd-php /cgi-bin/php4 output: raw text. Brian Moon ------------------------------------------------------------------------- Phorum Dev Team - http://www.phorum.org Making better forums with PHP ------------------------------------------------------------------------- ----- Original Message ----- From: Jim Winstead <jimw@php.net> Newsgroups: php.beta To: Brian Moon <brian@phorum.org> Sent: Wednesday, July 21, 1999 11:27 AM Subject: Re: [PHP4BETA] HELP! Getting PHP4 to work as CGI with Apache onFreeBSD > Action directives are relative to $DOCUMENT_ROOT, not the filesystem. > (There's no way to set up an Action to something outside the document > root, other than symlinks, that I'm aware of.) > > Jim > > Brian Moon wrote: > > > > 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. >

« previous php.version4 (#2448) next »