Re: [PHP4BETA] php4 in CGI mode

From: Date: Mon, 22 May 2000 21:38:53 +0000
Subject: Re: [PHP4BETA] php4 in CGI mode
Groups: php.version4 
Request: Send a blank email to php-version4+get-15495@lists.php.net to get a copy of this message
Addressed to: php_list@citiz.net php4beta@lists.php.net ** Reply to note from php_list@citiz.net Tue, 23 May 2000 10:26:59 -0700 > > Hello php4beta, > > I want install php4 in CGI mode at RedaHat linux 6.2+Apache+MySQL, > DSO mode I had install done, I want try CGI mode, how to set up > httpd.conf ? Please help me. > /configure again, but leave out with-apache, with-apxs or what ever settings you use to select the web server module method. You will get a file php in the directory where you installed php4. Copy that file to a directory in your path like /usr/local/bin. Create a script: ----------------- #! /usr/local/bin/php -q <? echo( "Hello World\n" ); <? ----------------- Run it: /hello Rick Widmer http://www.developersdesk.com

« previous php.version4 (#15495) next »