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

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

2004-01-20 Thread pw
Hello, I have looked over the various documentation regarding using php as a CGI program. What I have are PHTML scripts that I wish to run through php via CGI, not through the module. In my httpd.conf file I have placed the lines: AddHandler phtml-script .phtml Action phtml-script /cgi-bin/php