How to install PHP-DEV package for PDO_OCI
| From: | Choy, Wai Yew | Date: | Fri, 15 Sep 2006 00:25:08 +0000 |
| Subject: | How to install PHP-DEV package for PDO_OCI | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-42349@lists.php.net to get a copy of this message | ||
Hi guru,
Hope some kind souls out there can help me out here...I've successfully
compile Apache2.2; PHP 5.16 on a Fedora 4 (with the Oracle instant
client) machine...My connection to the remote Oracle database is working
fine using OCI_CONNECT.
My next step is to try out PDO. When I do a "php -m", I didn't see the
PDO_OCI module. Hence I downloaded the PDO_OCI-1.0.tgz file and do a
pear install.
But it comes out an error "ERROR: `phpize' failed". Then I found out
that phpize error is because the PHP-DEV package is not install. The
problem puzzle me is how do I install PHP5-DEV into my current setup??
I do a Google and can't find any PHP5-DEV package for Fedora4
PHP5.1.6...
Any help will be greatly appreciated here...
Below is some of the output from my machine:
[root@Fedora4 dbtest]# pear install PDO_OCI-1.0.tgz
7 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20050922
Zend Extension Api No: 220051025
ERROR: `phpize' failed
[root@Fedora4 dbtest]# php -v
PHP 5.1.6 (cli) (built: Sep 14 2006 12:23:31)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
[root@Fedora4 dbtest]# php -m
[PHP Modules]
ctype
date
dom
hash
iconv
libxml
oci8
pcre
PDO
posix
Reflection
session
SimpleXML
SPL
SQLite
standard
tokenizer
xml
xmlreader
xmlwriter
zlib
[Zend Modules]
Thanks a million in advance...
Choy