[PHP] PHP as CGI (Linux) From: J. Heffner (jheffner <email protected>)
Date: 12/28/00

I know from a little research that this topic has been discussed
often, but I've still come across a situation that I haven't yet been
able to figure out.

I'm working with an ISP that has PHP available ONLY as a CGI, and the
binary is installed in each virtual host's cgi-bin. Even so, I can
run everything I've done with a module-based install, without
changing a thing. In other words, I don't have to insert the
#!/usr/local/bin/php (or wherever it is) at the beginning of each
file, I don't have to change the .php3 extension to .cgi, I don't
need to have the php files in their own directory, and I can still
use the "on-the-fly" (<? ?>) stuff without any problems. The problem
is that I'd like to mirror this environment, but I can't figure out
how they have their apache configuration file set up. I like the CGI
version better (despite the purported performance hit), because it
allows using php with suexec...now if only I could figure out how to
do it...

Any suggestions will be appreciated.

Regards,

Jim Heffner

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>