[PHP] Re: Running PHP as CGI

2003-07-21 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] 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

RE: [PHP] RE: running php as cgi script

2002-11-18 Thread Peter Houchin
Hi > I'm trying to run a simple test php script as a cgi script on my ISP's > server > and haven't been able to get it to work, although according them it is > possible. > > I have an example from a book which gives the following steps: > > 1. Put the script in the cgi-bin > 2. run chmod 755 >

[PHP] RE: running php as cgi script

2002-11-18 Thread Jeremy Wilson
Change your ISP. For an ISP to be forcing you under this way is unrealistic. There are plenty of really good ISP's listed on the php site that all have the latest versions of php and have good setup packages. -Original Message- From: Scott [mailto:[EMAIL PROTECTED]] Sent: Friday, November

[PHP] Re: Running PHP as CGI under apache

2001-08-15 Thread Richard Lynch
> If you put this script into a file (.cgi) and give it executable > permissions, you can run it from the command line > > PHP CODE START > #!/usr/bin/php > > print "Hello"; > ?> > PHP CODE END > > and the Content-Type header is added by PHP. But wh