Re: Running PHP as CGI
| From: | David Robley | Date: | Tue, 22 Jul 2003 02:02:38 +0000 |
| Subject: | Re: Running PHP as CGI | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-156172@lists.php.net to get a copy of this message | ||
In article <20030721222016.82215.qmail@pb1.pair.com>,
david@thewishingtree.me.uk says...
> Can someone direct me as to how to install PHP on a linux system as CGI? I
> wish to attempt to use posix_setuid() functions.
>
> Thanks
If you are compiling from source, use your normal configure but without
reference to --with-apxs and a binary executable will be created. If you
are using 4.3 I think there is a php-cli which should do what you want.
--
Quod subigo farinam