extension=php_oci8.dll
; Directory in which the loadable extensions (modules) reside.
extension_dir = "C:\Program Files\xampp\php\ext\"
Fatal error: Call to undefined function OCILogon() in C:\Program Files\xampp\htdocs\oracle_test.php on line 9
emmbec wrote:I have uncomment the OCI8 extension in PHP.INI:
- Code: Select all
extension=php_oci8.dll
I have download the Instant Client Basic package for Windows from the Oracle site.
I have create a subdirectory (e.g., c:\instantclient10_2) and copy these libraries from the zip file:
* oraociei10.dll
* orannzsbb10.dll
* oci.dll
I have edited the environment and add c:\instantclient10_2 to PATH before any other Oracle directories.
This is a sample from my PHP.INI file for the extension path:
- Code: Select all
; Directory in which the loadable extensions (modules) reside.
extension_dir = "C:\Program Files\xampp\php\ext"
Which is the location where I installed XAMPP.
I have done all of that (which was in the oracle site http://www.oracle.com/technology/pub/notes/technote_php_instant.html and when I ran a script with PHPINFO() there is no OCI8 Section in that page...and if I try to use the OCILogon function I get aFatal error: Call to undefined function OCILogon() in C:\Program Files\xampp\htdocs\oracle_test.php on line 9
I have XAMPP version 1.5.5.
Windows 2000
Can anyone help me to sett up my connection to Oracle??? Or tell me what I'm doing wrong???
Users browsing this forum: No registered users and 93 guests