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
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
>
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
> 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
4 matches
Mail list logo