php-install Digest 22 Oct 2001 06:50:54 - Issue 516
Topics (messages 4683 through 4687):
Re: PHP/CGI problem: #!/path/php at top of CGI script appears in output
4683 by: Philippe
4684 by: Stefan Siefert
Re: [PHP] PHP/CGI problem: #!/path/php at top of CGI script appears in
G'Day,
I'm trying to compile PHP4 on Solaris 8(sparc), I had troubles getting it
to even configure on the base system, so I added a bunch of Packages and and
modified the $PATH and $LD_RUN_PATH variables, which got me a little
further(it creates make files, et al) but to no avail. Any ideas wou
Nope it fails when he removes the line. It fails on me as well, I tried
it. Also note I did say that the ouput of phpinfo() was correct. The
output showed the page had been handled by the php cgi binary, not the
module.
The module has a large config line and several extensions
configured in, the
Seems to me that the problems is that you have two instances of PHP going at
the same time. The first is the one compiled into Apache and the second is
the cgi module. My bet is that the PHP compiled into Apache is catching it
first (maybe you told all .cgi files to be parsed by the PHP parser?)
Hi,
well I do understand your needing.
First a question. What are your compile options, e.g. your configure call?
Do you use --enable-discard-path ? If not, try this. You need this option to
run Phpscripts from cgi-bin folders!!!
Greetings,
Stefan Siefert
-Ursprüngliche Nachricht-
Von
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
php-install Digest 21 Oct 2001 08:22:44 - Issue 515
Topics (messages 4677 through 4682):
Re: [PHP] PHP/CGI problem: #!/path/php at top of CGI script appears in output
4677 by: Dave Goodrich
4678 by: Stefan Siefert
Help with PHP and my (self-made) webserver
4679 by:
I'm running Solaris 8 on a netra X1(64 bit sparc), but for some reason it
dies during 'Configuring Extensions', the error is "checking for int8...
configure: error: can not run test program while cross compiling"
the machine is running software added (mostly) from www.sunfreeware.com,
including t