Bug #66342 [Opn->Nab]: Fatal error: Call to undefined function oci_connect() i
| From: | sixd@php.net | Date: | Tue, 24 Dec 2013 06:37:33 +0000 |
| Subject: | Bug #66342 [Opn->Nab]: Fatal error: Call to undefined function oci_connect() i | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-183455@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66342&edit=1
ID: 66342
Updated by: sixd@php.net
Reported by: arunchandapillai at gmail dot com
Summary: Fatal error: Call to undefined function
oci_connect() i
-Status: Open
+Status: Not a bug
Type: Bug
Package: Oracle related
Operating System: SunOS 5.10 Generic_1474
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
-----------
Please ask for help on a support forum.
Previous Comments:
------------------------------------------------------------------------
[2013-12-23 20:18:25] arunchandapillai at gmail dot com
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 this bug report at https://bugs.php.net/bug.php?id=66342&edit=1