Re: [users@httpd] php scripts run except in cgi-bin

2005-06-09 Thread Ivan Barrera A.
>>> Anyone have any pointers on getting php scripts to run from the cgi-bin directory? I can run php scripts fine so long as they are not in the default cgi-bin folder. > > > Hmmm... I'm guessing this person wants to run the php module, not php > as a CGI. Hence the problem is th

Re: [users@httpd] php scripts run except in cgi-bin

2005-06-09 Thread Joshua Slive
On 6/9/05, Ivan Barrera A. <[EMAIL PROTECTED]> wrote: > Jean-Christophe Montigny wrote: > > (be aware, that is an obvious question) > > > > Do you have the line > > #/usr/bin/php > > #!/path/to/exe > > > > > (or whatever your path to php is) at its beginning? > > > > As well, you cannot send ra

Re: [users@httpd] php scripts run except in cgi-bin

2005-06-09 Thread Ivan Barrera A.
Jean-Christophe Montigny wrote: > (be aware, that is an obvious question) > > Do you have the line > #/usr/bin/php #!/path/to/exe > (or whatever your path to php is) at its beginning? > > As well, you cannot send raw data just like a normal php script. > Just like any CGI you need to send the

Re: [users@httpd] php scripts run except in cgi-bin

2005-06-09 Thread Jean-Christophe Montigny
(be aware, that is an obvious question) Do you have the line #/usr/bin/php (or whatever your path to php is) at its beginning? As well, you cannot send raw data just like a normal php script. Just like any CGI you need to send the string Content-type: text/html there's another line but I cannot

[users@httpd] php scripts run except in cgi-bin

2005-06-09 Thread gradeAstudent.com.au
Anyone have any pointers on getting php scripts to run from the cgi-bin directory? I can run php scripts fine so long as they are not in the default cgi-bin folder. Alas, however, a survey program I am trying to test (not written by me) needs to have its scripts in the cgi-bin folder for some reaso