← Back to team overview

ius-community team mailing list archive

Re: php-pgsql php 5.3 and pg 8.4

 

You're gonna have to rebuild the source rpm against pg 8.4, 

http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/SRPMS/repoview/php53.html

Install pg 8.4, grab this source rpm. and install it. 

It should drop itself in /usr/source/redhat/SPECS

rpmbuild -bb php53.spec. It'll probably ask for a bunch of development dependencies you'll need to install so you might want to do this on a virtual machine so as to not clutter your production server. 

It should compile against the pgsql.so that's in 8.4. You can always verify with a phpinfo. 

If you have any issues with the compile be sure to post it here. I know I've never tested php against anything other than the stock pgsql but I don't foresee any big issues. Maybe a patch here or there might break it though.


Mike


On Jun 14, 2010, at 9:14 PM, Ketema Harris wrote:

> Hello.  I am trying to get php with pg support from 8.4.  I have found this community and successfully set up your repo.
> 
> I have been able to use it to install your php53-pgsql.x86_64 rpm, but this is built against Pg 8.1.  Does anyone have access to php-pgsql that is built against Pg 8.4 (libPQ 5)  ?  If no I am willing to learn how to build an RPM as I have successfully built php against Pg 8.4 on other machines with different distro's
> 
> I am running CentOS 5 on x86_64 architecture.  I appreciate any help or guidance on how to get this accomplished.
> 
> Thanks
> _______________________________________________
> Mailing list: https://launchpad.net/~ius-community
> Post to     : ius-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ius-community
> More help   : https://help.launchpad.net/ListHelp




References