php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66342 Fatal error: Call to undefined function oci_connect() i
Submitted: 2013-12-23 20:18 UTC Modified: 2016-03-08 00:57 UTC
From: arunchandapillai at gmail dot com Assigned:
Status: Not a bug Package: OCI8 related
PHP Version: Irrelevant OS: SunOS 5.10 Generic_1474
Private report: No CVE-ID: None
 [2013-12-23 20:18 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-12-24 06:37 UTC] sixd@php.net
-Status: Open +Status: Not a bug
 [2013-12-24 06:37 UTC] sixd@php.net
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.
 [2016-03-08 00:57 UTC] sixd@php.net
-Package: Oracle related +Package: OCI8 related
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 15:01:32 2024 UTC