| Sigrid Krug 2005-09-21, 7:55 am |
| Hi!
I scanned the web today and found people with the same problems, but no
solutions.
The problem is: I try to connect an Oracle-DB with a
PHP-Command-Line-script.
It works fine, when I use: ora_logon("scott@orcl","tiger")
But it doesn't with: OCILogon("scott", "tiger", "orcl")
I just get: "Fatal error: Call to undefined function: ocilogon() "
But via web-browser the scripts work!!!!
phpinfo.php: PHP Version 4.2.3
Configure Command: './configure' '--with-oracle=/opt/oracle/product/92'
'--with-apache=../apache_1.3.27'
(here OCI8 is NOT mentioned, but all the scripts using OCI8 work fine,
except on command line.....)
oci8
OCI8 Support enabled
Revision $Revision: 1.169.2.3 $
Oracle Version 9.0
Compile-time ORACLE_HOME /opt/oracle/product/92
Libraries Used
Apache/1.3.27
SuSe Linux Enterprise Server 8, I guess.
I hope for help,
Sigrid
|