RE: FW: [PHP-DB] How to install PHP-DEV package for PDO_OCI
| From: | Choy, Wai Yew | Date: | Sun, 17 Sep 2006 23:04:48 +0000 |
| Subject: | RE: FW: [PHP-DB] How to install PHP-DEV package for PDO_OCI | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-42362@lists.php.net to get a copy of this message | ||
Hi Tom,
Thanks...I tried this...But the php-devel.i386 is for PHP version
5.1.4-1.... yum will tried install all the other dependencies (eg. php
5.1.4; httpd 2.0.5..etc). I'm afraid with this dependencies installed,
it will mess up my current config...
Is there a php-devel packet for my setup? (PHP 5.1.6; Apache 2.2)...
Thanks..
-----Original Message-----
From: Tom Atkinson [mailto:nibbler@coppermine-gallery.net]
Sent: Saturday, 16 September 2006 10:37 PM
To: php-db@lists.php.net
Subject: Re: FW: [PHP-DB] How to install PHP-DEV package for PDO_OCI
It's in php-devel.
To find out what package something is in you can ask yum
# yum provides phpize
and it will tell you
php-devel.i386 5.1.4-1 updates
Matched from:
/usr/bin/phpize
/usr/lib/php/build/phpize.m4
Choy, Wai Yew wrote:
> Hi,
>
> Any kind soul out there can advise me?
>
> I've also try "yum install php5-dev" and "yum install php-dev"...All
not valid..
>
> Thanks.
>
>
>
> -----Original Message-----
> From: Choy, Wai Yew [mailto:waiyew.choy@ap.att.com]
> Sent: Fri 9/15/2006 10:25 AM
> To: php-db@lists.php.net
> Subject: [PHP-DB] How to install PHP-DEV package for PDO_OCI
>
> 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
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php