Heh..i just noticed something on your error: >Call to undefined function: ora_logon() in c:\program >files\apache group\apache\htdocs\one.php on line 5
If you've configured OCI8, use: ocilogon("scott","tiger",$db); instead of ora_logon(); Regards, Faisal -----Original Message----- From: Faisal Abdullah [mailto:faisal@;magnifix.com.my] Sent: Monday, October 28, 2002 6:13 PM To: Subodh Gupta; [EMAIL PROTECTED] Subject: RE: [PHP] error connecting to oracle. Where was it listed? In the 'configure command' section? Or the 'configuration' section? If its available in the 'configure command' ONLY, doesn't mean that its working properly. Also, check the following: 1.Copy d:\php\php4ts.dll to c:\winnt\system32 // depends on where your dll file is 2. Modify php.ini file for enable oci8 extension. Uncomment the php_oci8.dll line in c:\winnt\php.ini ;extension=php_mssql.dll extension=php_oci8.dll ;extension=php_openssl.dll 3. Edit extension_dir Location ; Directory in which the loadable extensions (modules) reside. extension_dir = "D:\PHP\extensions" // change this to whatever your extention directory is. Regards, Faisal -----Original Message----- From: Subodh Gupta [mailto:Subodh.Gupta@;seepz.tcs.co.in] Sent: Monday, October 28, 2002 5:35 PM To: Faisal Abdullah; [EMAIL PROTECTED] Subject: RE: [PHP] error connecting to oracle. I checked up phpinfo(). It does not have oracle listed. What do I need to do now? Subodh Gupta Tata Consultancy Services. "Faisal Abdullah" To: "Subodh Gupta" <[EMAIL PROTECTED]>, <faisal@magnif <[EMAIL PROTECTED]> ix.com.my> cc: Subject: RE: [PHP] error connecting to oracle. 28/10/2002 03:21 PM "undefined function" means PHP doesn't know where to get the function from. You probably didn't configure oci_8 libraries correctly. Try phpinfo(), and see under the configuration. Check whether oci8 is available. Regards Faisal -----Original Message----- From: Subodh Gupta [mailto:Subodh.Gupta@;seepz.tcs.co.in] Sent: Monday, October 28, 2002 5:18 PM To: [EMAIL PROTECTED] Subject: [PHP] error connecting to oracle. Hi all, I get the following error while trying to connect to oracle. Please help me. Fatal error: Call to undefined function: ora_logon() in c:\program files\apache group\apache\htdocs\one.php on line 5 Subodh Gupta Tata Consultancy Services. ______________________________________ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ______________________________________ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ______________________________________ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php