RE: [PHP-DB] oracle connectivity problem
| From: | Ford, Mike [LSS] | Date: | Tue, 08 Jan 2002 14:03:44 +0000 |
| Subject: | RE: [PHP-DB] oracle connectivity problem | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-15527@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Rajiv Khandelwal [mailto:rajiv@dsfinternet.com]
> 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: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211