note 39065 deleted from function.ocilogon by tony2001

From: Date: Mon, 01 Aug 2005 22:02:13 +0000
Subject: note 39065 deleted from function.ocilogon by tony2001
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-92909@lists.php.net to get a copy of this message
Note Submitter: chris at roarsolutions dot com ---- Installation Notes for Oracle 9i on a Win XP Professional box and PHP... Had big issues just trying to do the connection and here is what worked for me... (Assuming your Oracle install is all good and PHP working as well) In php.ini file you need to find these 2 lines... ;extension = php_oci8.dll ;extension = php_oracle.dll and uncomment them (remove the semi-colons) Next I had to ensure that the "extension_dir" config parameter in the php.ini file points to the actual directory where these dll files reside (ie. c:\PHP\extensions) This did the trick. Here was a simple connection script test as well... if ($dbconnect=OCILogon("username", "password", "dbase")) { echo "Successfully connected to Oracle.\n"; } else { echo "Oracle Connect Error "; }

« previous php.notes (#92909) next »