[PHP-DB] Connecting to database fails

2016-08-13 Thread Rich Shepard
I'm trying to install and run an abandoned PHP-based application (xrms found on sourceforge.net last updated a decade ago) on Slackware-14.1 running httpd-2.4.16, php-5.6.24, adodb-5.14, and postgresql-9.3.4. When I try to load the install.php script in firefox-45.3 I see this error: Syntax

Re: [PHP-DB] Connecting to database fails

2016-08-13 Thread Rich Shepard
On Sat, 13 Aug 2016, Lester Caine wrote: Do you actually have the postgresql PHP driver installed. Database drivers are not installed by default as you only really need the ones you are actually using. Lester, Well, that would make a difference. I did not know how to check for this.

Re: [PHP-DB] Connecting to database fails

2016-08-13 Thread Rich Shepard
On Sat, 13 Aug 2016, Rich Shepard wrote: Not installed. I'll search the Web to learn how to install it. Ah, yes. Pat likes MySQL/MariaDB so he does not build php to support postgres. I'll rebuild it and that should solve the problem. Thanks again, Rich -- PHP Database Mailing List (http

Re: [PHP-DB] Connecting to database fails

2016-08-15 Thread Rich Shepard
On Sat, 13 Aug 2016, Lester Caine wrote: Do you actually have the postgresql PHP driver installed. Database drivers are not installed by default as you only really need the ones you are actually using. Should be installed: /usr/lib/php/extensions/pgsql.so