note 39065 added to function.ocilogon

From: Date: Thu, 15 Jan 2004 19:28:03 +0000
Subject: note 39065 added to function.ocilogon
Groups: php.notes 
Request: Send a blank email to php-notes+get-63645@lists.php.net to get a copy of this message
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 "; } ---- Manual Page -- http://www.php.net/manual/en/function.ocilogon.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+39065 Delete -- http://master.php.net/manage/user-notes.php?action=delete+39065&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+39065&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#63645) next »