Hi,
You're right Dave
But nobody had already used PHP with CGI and with Apache ???
I searched on the net, but I've found no documentation on this problem
Bye
Philippe
Dave Goodrich writes:
> Nope it fails when he removes the line. It fails on me as well, I tried
> it. Also note I did say
Hi,
Thanks Stefan for your answer
First, I'll explain why I want to use php in cgi
I'ts a simple reason, some users want to use php without safemode (which is
required with Apache due to safety problems). So I want to use php in cgi
mode with suexec.
I've tryed your solution, it works in all
Hi,
A small update, the file is in 755
(otherwise Suexec don't let the script work)
Philippe
Philippe writes:
> Hi,
> My file end in .cgi, it's in 777
> It isn't handled by Apache because it don't work if I don't put
> #!/usr/local/bin/php
> It's in cgi-bin directory, and yes others cgi lan
Hi,
My file end in .cgi, it's in 777
It isn't handled by Apache because it don't work if I don't put
#!/usr/local/bin/php
It's in cgi-bin directory, and yes others cgi languages work well (I've
already tested perl)
Philippe
Curt A. Gilman writes:
> Philippe,
>
> Does the file name end in
Philippe,
Does the file name end in .php or something similar? If so, it is probably
being handled by the Apache PHP module, since you have it installed, and not
by the CGI. You could try changing the name to .cgi or something else and
see what happens.
Also, have you remembered to put the file
5 matches
Mail list logo