Bug #66342 [NEW]: Fatal error: Call to undefined function oci_connect() i
| From: | arunchandapillai at gmail dot com | Date: | Mon, 23 Dec 2013 20:18:25 +0000 |
| Subject: | Bug #66342 [NEW]: Fatal error: Call to undefined function oci_connect() i | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-183453@lists.php.net to get a copy of this message | ||
From: arunchandapillai at gmail dot com
Operating system: SunOS 5.10 Generic_1474
PHP version: Irrelevant
Package: Oracle related
Bug Type: Bug
Bug description:Fatal error: Call to undefined function oci_connect() i
Description:
------------
HI All,
My env.
SunOS 5.10
PHP 5.2.8 (cli)
Oracle (Full Client) 11.2.0.1.0
Command used ï
./configure --with-zlib --with-apxs2=/usr/local/apache2/bin/apxs
--with-config-file-path=/usr/local/apache2/conf
--with-oci8=shared,/nms/apps/netcool/oracle/product/11.2.0/client_1
--with-openssl
Though I could connect to the Database from the Host, the PHP script is
not connecting to DB. Iâm not sure if the problem is withâ¦
1. Configure --with-oci8=shared
2. Oracle Full Install (not instant client)
3. Oracle version greater than 10g
Any help is much appreciated.
Regards,
Arun
Test script:
---------------
Connect string
$conn = ocilogon($_SESSION[ 'connection' ][ 'user' ], $_SESSION[
'connection' ][ 'password' ], $_SESSION[ 'connection' ][
'service' ]
);
Error
Fatal error: Call to undefined function ocilogon() in
/php/File_threshold.php on line 554
--
Edit bug report at https://bugs.php.net/bug.php?id=66342&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66342&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66342&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66342&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=66342&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=66342&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66342&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=66342&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=66342&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=66342&r=support
Expected behavior: https://bugs.php.net/fix.php?id=66342&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=66342&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=66342&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=66342&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66342&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=66342&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=66342&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=66342&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66342&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66342&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=66342&r=mysqlcfg