On Monday 02 March 2009, shadrack <shadkeene@xxxxxxxxxxx> wrote: > My basic question is...are php4 and postgresql 8.3 compatible? > I'm running Linux Redhat 3.4.6, php4.3.9, and postgresql 8.3. I know, > some of those versions are old...its government, and I unfortunately > don't have control over the version. In fact, I don't even have root > access right now. But I've got projects waiting to go live if I can > get php and postgresql to talk to each other. > When I try to connect, I get...call to undefined function pg_connect. > When I look in the php.ini file, there is no pgsql.so file, and in the > extension library in /usr/lib/php4...I only see ldap.so. > So do I need to have the IT person download the pgsql-php rpm? Will > that take care of this? This might be the only option, so hoepfully > there's something I can do. > Or should I just push to install php5 if they let me? Will php5 and > postgresql work together inherently? Or will I need to add modules to > the initial php5 installation? > Thanks for any help! > Shad I think either version can be made to work, but the problem you're going to run into is that the vendor-supplied packages aren't compiled against PostgreSQL 8.3. They'd need to rebuild the PHP RPM and then install the PHP pgsql module (for either version). Or, they can install the vendor-supplied package, but you'd need the older postgresql library that it was compiled against also on the system, through a compatibility package or just hacked in manually (and appropriate overrides provided to RPM when installing the PHP module). -- Even a sixth-grader can figure out that you can’t borrow money to pay off your debt -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general