Home » Open Source » Programming Interfaces » Cannot Connect to Oracle, PHP cannot load oci dlls (Windows, Oracle 9, Wamp)
Cannot Connect to Oracle, PHP cannot load oci dlls [message #465032] |
Mon, 12 July 2010 05:38 |
phplebanon
Messages: 4 Registered: July 2010
|
Junior Member |
|
|
Hello,
I have installed wamp on windows server, and oracle 9, When I try to connect to oracle in php I get:
Fatal error: Call to undefined function oci_connect() in C:\wamp\www\project2\index.php on line 3
Also when I start wamp, it cannot load the oci dlls found on:
C:\wamp\bin\php\php5.3.0\ext
I have configured the php.ini file and commented as much options
extension_dir = "C:/wamp/bin/php/php5.3.0/ext/"
extension=php_oci8.dll ; Use with Oracle 10gR2 Instant ...
extension=php_oci8_11g.dll ; Use with Oracle 11g Instant Client
extension=php_oracle.dll
extension=oci8.so
I am unable to either connect to the database through php, also when I start wamp, i get pop up windows that it cannot load the dynamic procedures related to oracle: php_oce.dll, php_oce8.dll, php_pdo_oci,
I have even eddited the http.conf file
Also have done this:
•Add the following entries to the "C:\Apache\Apache\conf\httpd.conf" file:
LoadModule php4_module c:\php\sapi\php4apache.dll (approx line 193)
AddModule mod_php4.c (approx line 241)
AddType application/x-httpd-php .php (approx line 851)
Your Help is appreciated
|
|
|
Goto Forum:
Current Time: Fri Apr 19 06:05:56 CDT 2024
|