Re: [PHP] Running PHP as a CGI, chasing my own tail....(resolved)

2004-01-21 Thread pw
> > CGI or CLI? I'm betting on the latter because I'm not aware. Yes, available via CLI for CGI. My mistake. The third party app has thread safety issues that require php to be run as a command line CGI rather than a module. The problem with the module, as stated perviously, is not with php, b

Re: [PHP] Running PHP as a CGI, chasing my own tail....

2004-01-21 Thread Stuart
pw wrote: I can't use the php module because a third party application requires php to be available via CGI. CGI or CLI? I'm betting on the latter because I'm not aware of any feature a script could require that is only provided by the PHP executable and not the module. In which case you can have

Re: [PHP] Running PHP as a CGI, chasing my own tail....

2004-01-20 Thread pw
Hello, Thanks for the info. I am aware of the security problems around this. The methods described in the manual were not working so I decided to try this on an internal server to find out why. I am using apache 1.3.23 and php 4.3.3 on linux with a 2.4 kernel. I can't use the php module because

Re: [PHP] Running PHP as a CGI, chasing my own tail....

2004-01-20 Thread Stuart
pw wrote: In my httpd.conf file I have placed the lines: AddHandler phtml-script .phtml Action phtml-script /cgi-bin/php I have a symlink in my cgi-bin directory to the php executable. Am I missing anything else to make this work? A clue-by-four about security. If that was to work you would be op

Re: [PHP] Running php as a CGI

2001-04-17 Thread Steve Werby
"Boget, Chris" <[EMAIL PROTECTED]> wrote: > We compiled PHP to be used as a CGI and it's > working great. However, whenever we run a > php script, the following message gets outputted > at the start of the output: > > "X-Powered-By: PHP/4.0.3pl1 > Content-type: text/html" > > Is there any way w

Re: [PHP] Running php as a CGI

2001-04-17 Thread Knut H. Hassel Nielsen
On Tue, 17 Apr 2001, Boget, Chris wrote: > We compiled PHP to be used as a CGI and it's > working great. However, whenever we run a > php script, the following message gets outputted > at the start of the output: > > "X-Powered-By: PHP/4.0.3pl1 > Content-type: text/html" > > Is there any way we