> -----Original Message----- > From: Rajiv Khandelwal [mailto:[EMAIL PROTECTED]] > Sent: 27 December 2001 10:59 > > hi, > I am facing a strange problem. > I have oracle 8.1.6 (server) installed on linux and am > trying to access > it thru PHP from a client machine (again Linux). > I was successful in making connections to the Oracle Server through > programs written in C and Perl. But everytime i execute some program > written in PHP it throws back an error. > > "Fatal error: Call to undefined function: ocilogon() in > /usr/local/apache/htdocs/test.php " > > in test.php i am calling ocilogon as: > ocilogon ("scott","tiger",$db); > > I have installed PHP with oracle support. > phpinfo() shows that oracle support is enabled and it identifies > ORACLE_HOME and ORACLE_SID.
Have you installed Oracle 8 support (--with-oci8), which gives you the OCI functions, or only the older Oracle support (--with-oracle) which gives you the ORA_ series of functions? Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]