| Newsgroups |
php.version4 |
| Message-ID |
<[email protected]> |
Addressed to: [email protected]
[email protected]
** Reply to note from [email protected] 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