...

View Full Version : Fatal error: Call to undefined function Ora_Logon()



Bhagya
08-22-2006, 06:57 AM
hi friends.

i got this error .

Fatal error: Call to undefined function Ora_Logon()

i anable the oracle dll in the php.ini file. but it is doesnt work.

pl help me for this problem.

thanks

Bhagya

Fumigator
08-22-2006, 04:25 PM
Look what it says in the manual:

"You have to compile PHP with the option --with-oracle[=DIR], where DIR defaults to your environment variable ORACLE_HOME."

firepages
08-22-2006, 04:27 PM
You may have more luck with the newer OCI functions but regardless you will have to set some environment variables (or alter the path on win32) to get php/oracle working together ... see the manual notes at http://php.net/manual/en/ref.oci8.php

Bhagya
08-23-2006, 08:14 AM
Hi friend.

I am using Apache server on windows. So do i need to set the env variables in windows.....

ORACLE_HOME

ORACLE_SID

LD_PRELOAD

LD_LIBRARY_PATH

NLS_LANG

in these variables where do i configure ??????? in the environment variables ???

pl help me more.

Thanks
Bhagya

Bhagya
08-23-2006, 08:18 AM
now i am using oci8 function. but it is doesnt work.

i got the error like this.


Fatal error: Call to undefined function ocilogon()

i uncoments the php.ini file php_oci8.dll file and i checked the file is there or not and checked the oracle.dll file , these are already there .....

what should i doooooooo ?????

Pl help .

Bhagya

Bhagya
08-23-2006, 10:06 AM
Dear Friends.

I solved that problem. it should set the environment variables.

thats it.

Thanks for help.

Cheers
Bhagya

demirsha
10-26-2007, 01:21 PM
Hello

I have the same problem. How do you resolve it?
Where do you changed the environment variables? What file?
How do you change it? Can you be more specific?

Thanks, Demirsha

aedrin
10-26-2007, 05:47 PM
Look what it says in the manual:

"You have to compile PHP with the option --with-oracle[=DIR], where DIR defaults to your environment variable ORACLE_HOME."

To my knowledge, this is only necessary if you want a module to be part of the PHP code.

It does not prevent you from using the dll/so version.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum