How to install PHP-DEV package for PDO_OCI
How to install PHP-DEV package for PDO_OCI
am 15.09.2006 02:25:08 von waiyew.choy
------_=_NextPart_001_01C6D85D.665657A6
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Hi guru,
=20
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.
=20
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.
=20
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??
=20
I do a Google and can't find any PHP5-DEV package for Fedora4
PHP5.1.6...
=20
Any help will be greatly appreciated here...
=20
Below is some of the output from my machine:
=20
[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
=20
=20
=20
[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
=20
=20
[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
=20
[Zend Modules]
=20
=20
Thanks a million in advance...
Choy
------_=_NextPart_001_01C6D85D.665657A6--
FW: How to install PHP-DEV package for PDO_OCI
am 16.09.2006 11:59:04 von waiyew.choy
Hi,
Any kind soul out there can advise me?=20
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
=20
Hi guru,
=20
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.
=20
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.
=20
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??
=20
I do a Google and can't find any PHP5-DEV package for Fedora4
PHP5.1.6...
=20
Any help will be greatly appreciated here...
=20
Below is some of the output from my machine:
=20
[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
=20
=20
=20
[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
=20
=20
[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
=20
[Zend Modules]
=20
=20
Thanks a million in advance...
Choy
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: FW: How to install PHP-DEV package for PDO_OCI
am 16.09.2006 14:37:26 von Tom Atkinson
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
RE: FW: How to install PHP-DEV package for PDO_OCI
am 18.09.2006 01:04:48 von waiyew.choy
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]=20
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,
>=20
> Any kind soul out there can advise me?=20
>=20
> I've also try "yum install php5-dev" and "yum install php-dev"...All
not valid..
>=20
> Thanks.
>=20
>=20
>=20
> -----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
> =20
> Hi guru,
>=20
> =20
>=20
> 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.
>=20
> =20
>=20
> 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.
>=20
> =20
>=20
> 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??
>=20
> =20
>=20
> I do a Google and can't find any PHP5-DEV package for Fedora4
> PHP5.1.6...
>=20
> =20
>=20
> Any help will be greatly appreciated here...
>=20
> =20
>=20
> Below is some of the output from my machine:
>=20
> =20
>=20
> [root@Fedora4 dbtest]# pear install PDO_OCI-1.0.tgz
>=20
> 7 source files, building
>=20
> running: phpize
>=20
> Configuring for:
>=20
> PHP Api Version: 20041225
>=20
> Zend Module Api No: 20050922
>=20
> Zend Extension Api No: 220051025
>=20
> ERROR: `phpize' failed
>=20
> =20
>=20
> =20
>=20
> =20
>=20
> [root@Fedora4 dbtest]# php -v
>=20
> PHP 5.1.6 (cli) (built: Sep 14 2006 12:23:31)
>=20
> Copyright (c) 1997-2006 The PHP Group
>=20
> Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
>=20
> =20
>=20
> =20
>=20
> [root@Fedora4 dbtest]# php -m
>=20
> [PHP Modules]
>=20
> ctype
>=20
> date
>=20
> dom
>=20
> hash
>=20
> iconv
>=20
> libxml
>=20
> oci8
>=20
> pcre
>=20
> PDO
>=20
> posix
>=20
> Reflection
>=20
> session
>=20
> SimpleXML
>=20
> SPL
>=20
> SQLite
>=20
> standard
>=20
> tokenizer
>=20
> xml
>=20
> xmlreader
>=20
> xmlwriter
>=20
> zlib
>=20
> =20
>=20
> [Zend Modules]
>=20
> =20
>=20
> =20
>=20
> Thanks a million in advance...
>=20
> Choy
--=20
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: FW: How to install PHP-DEV package for PDO_OCI
am 19.09.2006 04:57:33 von waiyew.choy
Dear all,
Not sure can someone shed some light on my problem...
Thanks..
-----Original Message-----
From: Choy, Wai Yew [mailto:waiyew.choy@ap.att.com]=20
Sent: Monday, 18 September 2006 9:05 AM
To: Tom Atkinson; php-db@lists.php.net
Subject: RE: FW: [PHP-DB] How to install PHP-DEV package for PDO_OCI
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]=20
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,
>=20
> Any kind soul out there can advise me?=20
>=20
> I've also try "yum install php5-dev" and "yum install php-dev"...All
not valid..
>=20
> Thanks.
>=20
>=20
>=20
> -----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
> =20
> Hi guru,
>=20
> =20
>=20
> 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.
>=20
> =20
>=20
> 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.
>=20
> =20
>=20
> 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??
>=20
> =20
>=20
> I do a Google and can't find any PHP5-DEV package for Fedora4
> PHP5.1.6...
>=20
> =20
>=20
> Any help will be greatly appreciated here...
>=20
> =20
>=20
> Below is some of the output from my machine:
>=20
> =20
>=20
> [root@Fedora4 dbtest]# pear install PDO_OCI-1.0.tgz
>=20
> 7 source files, building
>=20
> running: phpize
>=20
> Configuring for:
>=20
> PHP Api Version: 20041225
>=20
> Zend Module Api No: 20050922
>=20
> Zend Extension Api No: 220051025
>=20
> ERROR: `phpize' failed
>=20
> =20
>=20
> =20
>=20
> =20
>=20
> [root@Fedora4 dbtest]# php -v
>=20
> PHP 5.1.6 (cli) (built: Sep 14 2006 12:23:31)
>=20
> Copyright (c) 1997-2006 The PHP Group
>=20
> Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
>=20
> =20
>=20
> =20
>=20
> [root@Fedora4 dbtest]# php -m
>=20
> [PHP Modules]
>=20
> ctype
>=20
> date
>=20
> dom
>=20
> hash
>=20
> iconv
>=20
> libxml
>=20
> oci8
>=20
> pcre
>=20
> PDO
>=20
> posix
>=20
> Reflection
>=20
> session
>=20
> SimpleXML
>=20
> SPL
>=20
> SQLite
>=20
> standard
>=20
> tokenizer
>=20
> xml
>=20
> xmlreader
>=20
> xmlwriter
>=20
> zlib
>=20
> =20
>=20
> [Zend Modules]
>=20
> =20
>=20
> =20
>=20
> Thanks a million in advance...
>=20
> Choy
--=20
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--=20
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: FW: How to install PHP-DEV package for PDO_OCI
am 19.09.2006 07:36:52 von Chris
Choy, Wai Yew wrote:
> Dear all,
>
> Not sure can someone shed some light on my problem...
>
> Thanks..
>
>
> -----Original Message-----
> From: Choy, Wai Yew [mailto:waiyew.choy@ap.att.com]
> Sent: Monday, 18 September 2006 9:05 AM
> To: Tom Atkinson; php-db@lists.php.net
> Subject: RE: FW: [PHP-DB] How to install PHP-DEV package for PDO_OCI
>
> 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)...
Where did you get those other packages from? Try that location.
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: FW: How to install PHP-DEV package for PDO_OCI
am 19.09.2006 07:39:45 von waiyew.choy
I get PHP 5.16 from the php.net site...Can't find a php-devel for
5.1.6....
http://www.php.net/downloads.php
-----Original Message-----
From: Chris [mailto:dmagick@gmail.com]=20
Sent: Tuesday, 19 September 2006 3:37 PM
To: Choy, Wai Yew
Cc: Tom Atkinson; php-db@lists.php.net
Subject: Re: FW: [PHP-DB] How to install PHP-DEV package for PDO_OCI
Choy, Wai Yew wrote:
> Dear all,
>=20
> Not sure can someone shed some light on my problem...
>=20
> Thanks..
>=20
>=20
> -----Original Message-----
> From: Choy, Wai Yew [mailto:waiyew.choy@ap.att.com]=20
> Sent: Monday, 18 September 2006 9:05 AM
> To: Tom Atkinson; php-db@lists.php.net
> Subject: RE: FW: [PHP-DB] How to install PHP-DEV package for PDO_OCI
>=20
> Hi Tom,
>=20
> 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...
>=20
> Is there a php-devel packet for my setup? (PHP 5.1.6; Apache 2.2)...
Where did you get those other packages from? Try that location.
--=20
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: FW: How to install PHP-DEV package for PDO_OCI
am 19.09.2006 07:50:07 von Chris
Choy, Wai Yew wrote:
> I get PHP 5.16 from the php.net site...Can't find a php-devel for
> 5.1.6....
>
> http://www.php.net/downloads.php
Where did you get the RPM's from?
php.net does NOT give you rpm's.
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: FW: How to install PHP-DEV package for PDO_OCI
am 19.09.2006 08:57:57 von waiyew.choy
Hi Chris,
I did not install via RPM...
I install thru' compiling the source (configure; make;make install..etc)
Thanks..
-----Original Message-----
From: Chris [mailto:dmagick@gmail.com]=20
Sent: Tuesday, 19 September 2006 3:50 PM
To: Choy, Wai Yew
Cc: Tom Atkinson; php-db@lists.php.net
Subject: Re: FW: [PHP-DB] How to install PHP-DEV package for PDO_OCI
Choy, Wai Yew wrote:
> I get PHP 5.16 from the php.net site...Can't find a php-devel for
> 5.1.6....
>=20
> http://www.php.net/downloads.php
Where did you get the RPM's from?
php.net does NOT give you rpm's.
--=20
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: FW: How to install PHP-DEV package for PDO_OCI
am 19.09.2006 10:06:00 von Chris
Choy, Wai Yew wrote:
> Hi Chris,
>
> I did not install via RPM...
>
> I install thru' compiling the source (configure; make;make install..etc)
>
> Thanks..
So you don't need php-devel.
Maybe you need to tell pear where php is installed - where did you
install it (eg /usr/local/php) ?
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: FW: How to install PHP-DEV package for PDO_OCI
am 19.09.2006 10:32:08 von waiyew.choy
Hi Chris,
Apologies if I ask silly question...
But how do I install php-devel using pear? Yes, my php is install in =
/usr/local/php ...
Note: My network have a proxy server...Should I export the "http_proxy" =
enviroment before I use pear?
Thanks...
-----Original Message-----
From: Chris [mailto:dmagick@gmail.com]
Sent: Tue 9/19/2006 6:06 PM
To: Choy, Wai Yew
Cc: Tom Atkinson; php-db@lists.php.net
Subject: Re: FW: [PHP-DB] How to install PHP-DEV package for PDO_OCI
=20
Choy, Wai Yew wrote:
> Hi Chris,
>=20
> I did not install via RPM...
>=20
> I install thru' compiling the source (configure; make;make =
install..etc)
>=20
> Thanks..
So you don't need php-devel.
Maybe you need to tell pear where php is installed - where did you=20
install it (eg /usr/local/php) ?
--=20
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: FW: How to install PHP-DEV package for PDO_OCI
am 19.09.2006 10:50:52 von Chris
Choy, Wai Yew wrote:
> Hi Chris,
>
> Apologies if I ask silly question...
>
> But how do I install php-devel using pear? Yes, my php is install in /usr/local/php ...
>
> Note: My network have a proxy server...Should I export the "http_proxy" enviroment before I use pear?
You don't need to install php-devel.
You need to tell pear where php is installed so it can then find the
phpize file.
/usr/local/php is NOT a standard path so pear doesn't know to look there.
How do you do that? I have no idea and a quick search of the
pear.php.net site didn't reveal too much (if you spend time there you
might find it).
Ask on a pear list: http://pear.php.net/support/lists.php
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php