Search found 5 matches

by success17
2015/07/04 10:49:16
Forum: CentOS 5 - Software Support
Topic: Do I have to recompile PHP for adding Postgres PDO support?
Replies: 7
Views: 23289

Re: Do I have to recompile PHP for adding Postgres PDO suppo

remerpo,

1) Where can I download a proper version?
2) Should I just replace one file pdo_pgsql.so with the downloaded from a repo?

CentOS release 5.11 (Final)
PHP Version 5.4.25

Thanks again!
by success17
2015/07/04 06:12:47
Forum: CentOS 5 - Software Support
Topic: Do I have to recompile PHP for adding Postgres PDO support?
Replies: 7
Views: 23289

Re: Do I have to recompile PHP for adding Postgres PDO suppo

remirepo, many thanks for your time and efforts, really appreciate it! Solved the problem as follows (had to recompile pdo_pgsql): yum install postgresql-devel - was getting an error in one of the below steps without doing this The following steps are from the solution described here: http://stackov...
by success17
2015/07/04 03:49:31
Forum: CentOS 5 - Software Support
Topic: Do I have to recompile PHP for adding Postgres PDO support?
Replies: 7
Views: 23289

Re: Do I have to recompile PHP for adding Postgres PDO suppo

More info: 1) Checked where extensions are (/usr/local/lib/php/extensions/no-debug-non-zts-20100525) 2) There were no pdo_pgsql.so or pgsql.so extensions there 3) Searched for these files, found them in /usr/lib/php/modules/ 4) Changed php.ini as follows: extension="/usr/lib/php/modules/pdo_pgsql.so...
by success17
2015/07/04 02:58:15
Forum: CentOS 5 - Software Support
Topic: Do I have to recompile PHP for adding Postgres PDO support?
Replies: 7
Views: 23289

Re: Do I have to recompile PHP for adding Postgres PDO suppo

remirepo, thanks a lot, I have done what you said but having another problem. Here is what I have done: 1) Excluded php* from yum.xml exclude path 2) ran yum install php-pdo_pgsql 3) added a couple of lines to php.ini: extension=pdo_pgsql.so extension=pgsql.so 4) restarted apache (stopped, confirmed...
by success17
2015/07/03 07:16:50
Forum: CentOS 5 - Software Support
Topic: Do I have to recompile PHP for adding Postgres PDO support?
Replies: 7
Views: 23289

Do I have to recompile PHP for adding Postgres PDO support?

Hi, 1) I have a dedicated server Centos server 2) want to use Postgres PDO driver from my php code 3) it currently says: Fatal error: Uncaught exception 'PDOException' with message 'could not find driver' 4) I checked phpinfo here is the output for critical bits: configure command: ./configure' '--d...

Go to advanced search