PHP CLI OCILOGON - undefined function
| From: | Sigrid Krug | Date: | Tue, 20 Sep 2005 18:12:55 +0000 |
| Subject: | PHP CLI OCILOGON - undefined function | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-40324@lists.php.net to get a copy of this message | ||
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