Quote:
Originally posted by VideoVoyeur
No, php does not use Perl to run, totally different scripting languages.
|
CGI has very little to do with a specific scripting language, it's the standard for interfacing external apps with information servers. CGI can be used with scripting languages like Perl, TCL, a Unix shell or PHP, but also with programming languages like C/C++, Fortran, etc etc.
As for if PHP needs to be in the cgi-bin, it depends, like cluck said. If PHP is installed as a module for your server, you can normally speaking run it anywhere. If PHP is installed as a CGI program, you'll generally need to run it in your cgi-bin. The latter is pretty rare though.