Re: FW: [PHP-DB] How to install PHP-DEV package for PDO_OCI
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
RE: FW: [PHP-DB] How to install PHP-DEV package for PDO_OCI
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:[EMAIL PROTECTED] 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 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: [PHP-DB] How to install PHP-DEV package for PDO_OCI
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: [PHP-DB] How to install PHP-DEV package for PDO_OCI
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:[EMAIL PROTECTED] 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 > > 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: [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 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: [PHP-DB] How to install PHP-DEV package for PDO_OCI
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:[EMAIL PROTECTED] 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, > > Not sure can someone shed some light on my problem... > > Thanks.. > > > -Original Message- > From: Choy, Wai Yew [mailto:[EMAIL PROTECTED] > 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: [PHP-DB] How to install PHP-DEV package for PDO_OCI
Choy, Wai Yew wrote: Dear all, Not sure can someone shed some light on my problem... Thanks.. -Original Message- From: Choy, Wai Yew [mailto:[EMAIL PROTECTED] 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: [PHP-DB] How to install PHP-DEV package for PDO_OCI
Dear all, Not sure can someone shed some light on my problem... Thanks.. -Original Message- From: Choy, Wai Yew [mailto:[EMAIL PROTECTED] 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:[EMAIL PROTECTED] 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-1updates 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:[EMAIL PROTECTED] > 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: > > > > [EMAIL PROTECTED] 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 > > > > > > > > [EMAIL PROTECTED] 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 > > > > > > [EMAIL PROTECTED] 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 -- 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: [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:[EMAIL PROTECTED] 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-1updates 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:[EMAIL PROTECTED] > 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: > > > > [EMAIL PROTECTED] 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 > > > > > > > > [EMAIL PROTECTED] 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 > > > > > > [EMAIL PROTECTED] 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 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
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-1updates 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:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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