I need to enable pg support on one of my CentOS servers. I know nothing about PHP but DRUPAL requires a DB backend and we have standardized on pg rather than mysql. The PHP.net page devoted to the subject of pg says that to enable pg support PHP must be built with the flag "--with-pgsql[=DIR]" and that the required support extension must be loaded via the /etc/php.ini file with the statement "extension=pgsql.so". However, I have tried to find this file "pgsql.so" on the CentOS server before proceeding blindly and have come up empty. Can somebody here give me some detailed help on getting DRUPAL running with PsotgreSQL under CentOS; or at least point me to a site where I can find out how to obtatin the necessary and appropriate pgsql.so file? I cannot seem to find the necessary information on either php.net or postgresql.org. Regards, Jim -- *** e-mail is NOT a secure channel *** James B. Byrne mailto:ByrneJB.<token>@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3CE delivery <token> = hal
On Wed, Jul 05, 2006 at 01:47:26PM -0400, James B. Byrne enlightened us:> I need to enable pg support on one of my CentOS servers. I know nothing about > PHP but DRUPAL requires a DB backend and we have standardized on pg rather > than mysql. The PHP.net page devoted to the subject of pg says that to enable > pg support PHP must be built with the flag "--with-pgsql[=DIR]" and that the > required support extension must be loaded via the /etc/php.ini file with the > statement "extension=pgsql.so". > > However, I have tried to find this file "pgsql.so" on the CentOS server before > proceeding blindly and have come up empty. Can somebody here give me some > detailed help on getting DRUPAL running with PsotgreSQL under CentOS; or at > least point me to a site where I can find out how to obtatin the necessary and > appropriate pgsql.so file? I cannot seem to find the necessary information on > either php.net or postgresql.org. > > Regards, > Jimyum holds your answer. Hint: Use the list command. Matt -- Matt Hyclak Department of Mathematics Department of Social Work Ohio University (740) 593-1263
James B. Byrne wrote:> I need to enable pg support on one of my CentOS servers. I know nothing about > PHP but DRUPAL requires a DB backend and we have standardized on pg rather > than mysql. The PHP.net page devoted to the subject of pg says that to enable > pg support PHP must be built with the flag "--with-pgsql[=DIR]" and that the > required support extension must be loaded via the /etc/php.ini file with the > statement "extension=pgsql.so". > > However, I have tried to find this file "pgsql.so" on the CentOS server before > proceeding blindly and have come up empty. Can somebody here give me some > detailed help on getting DRUPAL running with PsotgreSQL under CentOS; or at > least point me to a site where I can find out how to obtatin the necessary and > appropriate pgsql.so file? I cannot seem to find the necessary information on > either php.net or postgresql.org. >yum whatprovides pgsql.so yum install php-pgsql.i386 Max
On Wed, 2006-07-05 at 13:47 -0400, James B. Byrne wrote:> I need to enable pg support on one of my CentOS servers. I know nothing about > PHP but DRUPAL requires a DB backend and we have standardized on pg rather > than mysql. The PHP.net page devoted to the subject of pg says that to enable > pg support PHP must be built with the flag "--with-pgsql[=DIR]" and that the > required support extension must be loaded via the /etc/php.ini file with the > statement "extension=pgsql.so". > > However, I have tried to find this file "pgsql.so" on the CentOS server before > proceeding blindly and have come up empty. Can somebody here give me some > detailed help on getting DRUPAL running with PsotgreSQL under CentOS; or at > least point me to a site where I can find out how to obtatin the necessary and > appropriate pgsql.so file? I cannot seem to find the necessary information on > either php.net or postgresql.org.I haven't run this, but I'd expect: yum install php-pgsql to be the first step. -- Les Mikesell lesmikesell at gmail.com
James B. Byrne wrote:> I need to enable pg support on one of my CentOS servers. I know nothing about > PHP but DRUPAL requires a DB backend and we have standardized on pg rather > than mysql. The PHP.net page devoted to the subject of pg says that to enableHi Jim, One important note: if you are going to install Drupal (or any type of software for that matter) onto your server, be sure and subscribe to their security mailing list. Every once in a while someone finds a critical error which usually needs to be patched as soon as possible. If you do not stay on top of it, you could get your server owned pretty quickly. Patrick -- Try Firefox http://www.spreadfirefox.com//?q=user/register&r=177270
On: Wed, 05 Jul 2006 13:54:49 -0400, "Max H." <btmanmeh at verizon.net> wrote:> yum whatprovides pgsql.so > > yum install php-pgsql.i386Thank you very much. Regards, Jim -- *** e-mail is NOT a secure channel *** James B. Byrne mailto:ByrneJB.<token>@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3CE delivery <token> = hal
Apparently Analagous Threads
- where should I start? If I want to use dataschemas with postgresql?
- PostgreSQL 8.2?
- Linux - Rails - PostgreSQL partitioning
- trying to install postgres gem on fedora 12 ..
- How to update MySQL with CentOS 6 in most unintrusive way - in regard to perl and PHP packages