From: aazizi at comcast dot net
Operating system: Linux EL 30
PHP version: 4.3.9
PHP Bug Type: Oracle related
Bug description: connectivity to oci through apache
Description:
------------
I have tried and experience the following problem on three different
systems.
I have apache 2 + php + oracle8i client
This is my test script called oradbinfo.php:
<?php
if ($c=OCILogon("user", "pass", "mydb")) {
echo "Successfully connected to Oracle.\n";
} else {
$err = OCIError();
echo "Oracle Connect Error " . $err[text];
}?>
from the command line when I run:
php oradbinfo.php
I get: Successfully connected to Oracle.
However, when I brows the page through http browser,
I get:
Fatal error: Call to undefined function: ocilogon() in
/var/www/html/test.php on line 2
any clues,
-thanx
--
Edit bug report at http://bugs.php.net/?id=30401&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30401&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30401&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30401&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30401&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30401&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30401&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30401&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30401&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30401&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30401&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30401&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30401&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30401&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30401&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30401&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30401&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30401&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30401&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30401&r=mysqlcfg