Click to See Complete Forum and Search --> : Getting PHP running as a CGI w/ Netscape


Anon
03-27-2001, 03:15 PM
Hi...
I recently started working with PHP to evaluate some web apps. I've got a test environment running solaris 2.6 machine running apache, mysql and php as a cgi. Now I need to migrate it to a public test environment which is basically the same, but runs Netscape Enterprise instead of Apache.

What config changes do I need to make in order for Netscape to see php as a cgi? I have tried following the instructions for Netscape iplanet, but they seem to be for the nsapi module, not for a cgi.

The apache config was a snap to do, and I'm not much of a Netscape guy, so if anyone could point me in the right direction! Thanks.

Anon
06-20-2001, 08:28 PM
The same problem. I'm tired ofsearching iPlanet and PHP documentation for it, but have not found anything. Only found, how to install it on Win32 as shell-CGI, but it does not help, because I need it to work on Solaris. Any ideas?

Anon
06-20-2001, 09:11 PM
O! Finaly found the answer. It's stupid simple. Just add #!/usr/local/bin/php line to your php files :)))