Re: Using the PHP CGI

From: Date: Fri, 01 Dec 2000 01:35:36 +0000
Subject: Re: Using the PHP CGI
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-28148@lists.php.net to get a copy of this message
Configure PHP as in the directions, only skip anything involving apache and leave out that --with-apxs or --with-apache switch. You'll get a stand-alone binary named PHP that you can call from the command line. Then use: AddType application/x-httpd-php phtml Action application/x-httpd-php /full/path/to/binary/php ----- Original Message ----- From: Chris Cameron <chris@UpNIX.com> Newsgroups: php.general Sent: Thursday, November 30, 2000 2:37 AM Subject: [PHP] Using the PHP CGI > I'd like to use PHP to parse my pages, but don't want to install it as an > apache module. How is it I can call on the PHP parser to parse all pages > ending in .phtml? > I've looked into handlers, but haven't been able to make them do what I'm > trying to do (or anything at all). > > Thanks, > Chris > > -- > "Stockwell Day is fast becoming Canada's version of Dan Quayle. I'm waiting for him to spell potato." > - Susan Elliott > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#28148) next »