#30401 [Com]: connectivity to oci through apache
| From: | cjbj at hotmail dot com | Date: | Tue, 12 Oct 2004 02:52:10 +0000 |
| Subject: | #30401 [Com]: connectivity to oci through apache | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-67441@lists.php.net to get a copy of this message | ||
ID: 30401
Comment by: cjbj at hotmail dot com
Reported By: aazizi at comcast dot net
Status: Open
Bug Type: Oracle related
Operating System: Linux EL 30
PHP Version: 4.3.9
New Comment:
This report does not have enough information to qualify as a bug.
A good place to post the problem is to the php.db mail list, i.e.
http://news.php.net/group.php?group=php.db
Before doing that read:
http://www.oracle.com/technology/tech/opensource/php/php_troubleshooting_faq.html
and check your Apache and PHP environment variables.
Previous Comments:
------------------------------------------------------------------------
[2004-10-11 19:51:25] aazizi at comcast dot net
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 this bug report at http://bugs.php.net/?id=30401&edit=1