Re: [CentOS] php-pdo

2009-08-05 Thread Peter Peltonen
On Wed, Aug 5, 2009 at 7:18 AM, Alan Sparksaspa...@doublesparks.net wrote: Peter Peltonen wrote: I wish to use PostgreSQL with PHP+PDO. I haven't use PDO before. I have the php-pdo package installed on my CentOS 4.7 server: # rpm -qa |grep pdo php-pdo-5.1.6-3.el4s1.10 Now when I try

Re: [CentOS] php-pdo

2009-08-05 Thread John Doe
From: Peter Peltonen peter.pelto...@gmail.com # more /etc/php.d/pdo_pgsql.ini ; Enable pdo_pgsql extension module extension=pdo_pgsql.so Enabled it in /etc/php.d/pdo.ini ? JD ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] php-pdo

2009-08-05 Thread Karanbir Singh
On 08/04/2009 10:13 PM, Peter Peltonen wrote: I wish to use PostgreSQL with PHP+PDO. I haven't use PDO before. I have the php-pdo package installed on my CentOS 4.7 server: # rpm -qa |grep pdo php-pdo-5.1.6-3.el4s1.10 on the command line : php -i | less should give you more info on what

Re: [CentOS] php-pdo

2009-08-05 Thread Peter Peltonen
Hi, On Wed, Aug 5, 2009 at 11:46 AM, John Doejd...@yahoo.com wrote: From: Peter Peltonen peter.pelto...@gmail.com # more /etc/php.d/pdo_pgsql.ini ; Enable pdo_pgsql extension module extension=pdo_pgsql.so Enabled it in /etc/php.d/pdo.ini ? Yes: # more /etc/php.d/pdo.ini ; Enable pdo

Re: [CentOS] php-pdo

2009-08-05 Thread John Doe
From: Peter Peltonen peter.pelto...@gmail.com Enabled it in /etc/php.d/pdo.ini ? Yes: # more /etc/php.d/pdo.ini ; Enable pdo extension module extension=pdo.so You said you saw --disable-pdofrom configure...? Maybe that's the problem... standard php package? While I use PDO for sqlite,

Re: [CentOS] php-pdo

2009-08-05 Thread Peter Peltonen
Hi, On Wed, Aug 5, 2009 at 11:52 AM, Karanbir Singhmail-li...@karan.org wrote: On 08/04/2009 10:13 PM, Peter Peltonen wrote: I wish to use PostgreSQL with PHP+PDO. I haven't use PDO before. I have the php-pdo package installed on my CentOS 4.7 server: # rpm -qa |grep pdo

[CentOS] php-pdo

2009-08-04 Thread Peter Peltonen
I wish to use PostgreSQL with PHP+PDO. I haven't use PDO before. I have the php-pdo package installed on my CentOS 4.7 server: # rpm -qa |grep pdo php-pdo-5.1.6-3.el4s1.10 Now when I try connect to the PostgeSQL db with this code: ?php print PDO testbr /; try { $db = new

Re: [CentOS] php-pdo

2009-08-04 Thread Alan Sparks
Peter Peltonen wrote: I wish to use PostgreSQL with PHP+PDO. I haven't use PDO before. I have the php-pdo package installed on my CentOS 4.7 server: # rpm -qa |grep pdo php-pdo-5.1.6-3.el4s1.10 Now when I try connect to the PostgeSQL db with this code: ?php print PDO testbr /; try {