I try to connect to a oracle 8 database like this:
$conn = ocilogon("system","manager");
and it returns the following error:
Fatal error: Call to undefined function: ocilogon() in :\InetPub\wwwroot\oracle.phtml on line 2
PHP Warning: Unable to load dynamic library './php_oci8.dll' - The specified procedure could not be found. in Unknown on line 0
My environment.
Windows NT 4.0 server sp 6
Interntet Information Service 3
PHP 4.0.6 with yours own dlls
Oracle 8.0.5 for Windows NT
Oracle 8i Client
My configuration.
- in php.ini:
my extensions dir:
extension_dir = ./extension
my dll's (note that others dll's are uncommented and they works fine):
.......
extension=php_ctype.dll
;extension=php_mssql.dll
extension=php_oci8.dll
;extension=php_oracle.dll
extension=php_pdf.dll
......
+ The extension path it's fine, the php_oci8.dll it's uncomment.
+ All dll´s in my WINNT\SYSTEM directory.
+ The php_oci8.dll came with your respective php binary file.
+ The others modules work fine, but only that can't load.
+ I have tried wiht others version of this dll and binary, and nothing.
It seem that Isn't Oracle Problem, since the dll nor is being recognized.
I have read about others people with the same problem but I don't know how they they solved it,I have sent others post and made changes and it does'nt work.
if somebody had the same problem or has some idea of as solving please say me.
Other question, I have the Oracle8i Client, but I don't know that things to install of all for PHP can to connect to Oracle once I solve the problem with php_oci8.dll.
Thanks
Oliver