Must I create an OS user account on my web server identical to one of the Oracle accounts on my db server? I've read about creating a "web daemon user," but don't know what that is and whether I should create something analogous in a Windows environment.
DB Server: W2K running Oracle 9.2
WWW: W2K running PHP 4.3.3
phpinfo() reports OCI is enabled (version 1.183.2.5)
I have the Oracle client loaded on the web server and can connect to the db server from it.
Everytime I try to connect from within a PHP script, I get:
Warning: ocilogon(): _oci_open_server
thanks for any help - Chris
<?
putenv("ORACLE_HOME=\\desert121\ora92");
putenv("ORACLE_SID=RIMSDEV");
$username="wardc";
$passwd="passwd";
$db = "(DESCRIPTION =
(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = desert121)(PORT = 1521) ) )
(CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = RIMSDev.FRTC) ) )";
$conn = OCILogon($username, $passwd,$db);
?>