Fatal error: Call to undefined function oci_connect()
ShellyJul 28 2009 — edited Jul 28 2009I get below error when I try to connect to oracle in PHP on SUSE 10. I orginally posted this question in PHP forum but I was advised to post it to Linux forum. so here is the error and other details.
Fatal error: Call to undefined function oci_connect()
I followed one of the documentation realed to this error and I get below error.
/home/knaik # php -version
PHP 5.2.5 with Suhosin-Patch 0.9.6.2 (cli) (built: Apr 23 2008 23:35:28)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
/home/knaik/oci8-1.3.5 # phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF
environment variable is set correctly and then rerun this script.
I was looking into below link. But I could not find oci8.so file after the OCI build.
http://www.orware.net/tips-and-how-tos/plesk/46-oracle-oci8-php-installation.html
===================================================
===> In reply to my request *"mgogala's"* reply was as below.
Install autoconf using yast. Check whether the package is installed by using:
$>rpm -qa autoconf
autoconf-2.59-5
BTW, this is not a Linux forum. There is one on OTN, I'm sure that Frits Hoogland will gladly help you out.
====>
I am not able to find "autoconf" rpm for Suse 10.
Below is the exact version details of the O/S.
#*more SuSE-release*
SUSE Linux Enterprise Server 10 (i586)
VERSION = 10
PATCHLEVEL = 2
#*uname -a*
Linux osdvglobalopsdv02 2.6.16.60-0.21-smp #1 SMP Tue May 6 12:41:02 UTC 2008 i686 i686 i386 GNU/Linux
Please let me know, from where can I download this RPM?
Thanks
Shelly