<div style="background-color: transparent; "><p dir="ltr" id="internal-source-marker_0.878478498198092" style="text-indent: 36pt; margin-top: 0pt; margin-bottom: 0pt; "><span style="font-size: 12px; font-family: Consolas; color: rgb(17, 17, 17); background-color: rgb(238, 238, 238); text-decoration: none; vertical-align: baseline; white-space: pre-wrap; ">Hi,</span></p>
<p dir="ltr" id="internal-source-marker_0.878478498198092" style="text-indent: 36pt; margin-top: 0pt; margin-bottom: 0pt; "><span style="font-size: 12px; font-family: Consolas; color: rgb(17, 17, 17); background-color: rgb(238, 238, 238); text-decoration: none; vertical-align: baseline; white-space: pre-wrap; "><br>
</span></p><p dir="ltr" id="internal-source-marker_0.878478498198092" style="text-indent: 36pt; margin-top: 0pt; margin-bottom: 0pt; "><span style="font-size: 12px; font-family: Consolas; color: rgb(17, 17, 17); background-color: rgb(238, 238, 238); text-decoration: none; vertical-align: baseline; white-space: pre-wrap; ">This should do the trick:</span></p>
<p dir="ltr" id="internal-source-marker_0.878478498198092" style="text-indent: 36pt; margin-top: 0pt; margin-bottom: 0pt; "><span style="font-size: 12px; font-family: Consolas; color: rgb(17, 17, 17); background-color: rgb(238, 238, 238); text-decoration: none; vertical-align: baseline; white-space: pre-wrap; ">yum install php-pgsql</span></p>
<p dir="ltr" id="internal-source-marker_0.878478498198092" style="text-indent: 36pt; margin-top: 0pt; margin-bottom: 0pt; "><span style="font-size: 12px; font-family: Consolas; color: rgb(17, 17, 17); background-color: rgb(238, 238, 238); text-decoration: none; vertical-align: baseline; white-space: pre-wrap; "><br>
</span></p><p dir="ltr" id="internal-source-marker_0.878478498198092" style="text-indent: 36pt; margin-top: 0pt; margin-bottom: 0pt; "><span style="font-size: 12px; font-family: Consolas; color: rgb(17, 17, 17); background-color: rgb(238, 238, 238); text-decoration: none; vertical-align: baseline; white-space: pre-wrap; ">MartinO</span></p>
</div><br><div class="gmail_quote">On Tue, Nov 22, 2011 at 7:40 PM, Bill Thoen <span dir="ltr"><<a href="mailto:bthoen@gisnet.com">bthoen@gisnet.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF" text="#000066">
<font size="+1"><font face="Courier New, Courier, monospace">I just
noticed that I've got version of PHP on one of my machines
that's different from the PHP on another machine, yet I thought
I was getting everything from the same repositories.
Specifically, on machine A, PHP has no support for PosgreSQL.
And machine B does have it (see below)<br>
<br>
I tried reinstalling PHP but I just got the same thing back. I
notice that in the repolists there's different servers supplying
upgrades, but aren't those mirror sites? I'm to inexperienced to
recognize what's misconfigured, but I sure would appreciate any
help I can get. I don't know how this happened but can anyone
tell me what I need to do to get a pgsql-friendly version of PHP
on machine A?<br>
<br>
A<br>
=========<br>
[root@hotspur ~]# php -m<br>
[PHP Modules]<br>
bz2<br>
calendar<br>
ctype<br>
curl<br>
date<br>
dbase<br>
exif<br>
ftp<br>
gettext<br>
gmp<br>
hash<br>
iconv<br>
libxml<br>
mime_magic<br>
openssl<br>
pcntl<br>
pcre<br>
posix<br>
pspell<br>
Reflection<br>
session<br>
shmop<br>
SimpleXML<br>
sockets<br>
SPL<br>
standard<br>
sysvmsg<br>
sysvsem<br>
sysvshm<br>
tokenizer<br>
wddx<br>
xml<br>
zlib<br>
<br>
<br>
B<br>
===========<br>
[root@walden ~]# php -m<br>
[PHP Modules]<br>
bz2<br>
calendar<br>
ctype<br>
curl<br>
date<br>
dbase<br>
exif<br>
ftp<br>
gettext<br>
gmp<br>
hash<br>
iconv<br>
ldap<br>
libxml<br>
mbstring<br>
mime_magic<br>
openssl<br>
pcntl<br>
pcre<br>
PDO<br>
pdo_pgsql<br>
pdo_sqlite<br>
pgsql<br>
posix<br>
pspell<br>
Reflection<br>
session<br>
shmop<br>
SimpleXML<br>
sockets<br>
SPL<br>
standard<br>
sysvmsg<br>
sysvsem<br>
sysvshm<br>
tokenizer<br>
wddx<br>
xml<br>
zlib<br>
<br>
<br>
And here's the repolist for both:<br>
machine A<br>
==============<br>
[root@hotspur ~]# yum repolist<br>
Loaded plugins: fastestmirror<br>
Loading mirror speeds from cached hostfile<br>
* base: <a href="http://mirrors.xmission.com" target="_blank">mirrors.xmission.com</a><br>
* epel: <a href="http://mirrors.tummy.com" target="_blank">mirrors.tummy.com</a><br>
* extras: <a href="http://mirror.steadfast.net" target="_blank">mirror.steadfast.net</a><br>
* updates: <a href="http://centosi3.centos.org" target="_blank">centosi3.centos.org</a><br>
repo id repo
name status<br>
base CentOS-5 -
Base 3,566<br>
elgis EL GIS 5 -
x86_64 136<br>
epel Extra Packages for Enterprise Linux 5 -
x86_64 6,772<br>
extras CentOS-5 -
Extras 237<br>
updates CentOS-5 -
Updates 422<br>
repolist: 11,133<br>
<br>
machine B<br>
==============<br>
[root@walden ~]# yum repolist<br>
Loaded plugins: allowdowngrade, changelog, downloadonly,
fastestmirror<br>
Loading mirror speeds from cached hostfile<br>
* base: <a href="http://mirror.steadfast.net" target="_blank">mirror.steadfast.net</a><br>
* epel: <a href="http://mirror.steadfast.net" target="_blank">mirror.steadfast.net</a><br>
* extras: <a href="http://mirror.5ninesolutions.com" target="_blank">mirror.5ninesolutions.com</a><br>
* updates: <a href="http://centos-distro.cavecreek.net" target="_blank">centos-distro.cavecreek.net</a><br>
repo id repo
name status<br>
base CentOS-5 -
Base 3,566<br>
elgis EL GIS 5 -
x86_64 136<br>
epel Extra Packages for Enterprise Linux 5 -
x86_64 6,771<br>
extras CentOS-5 -
Extras 237<br>
updates CentOS-5 -
Updates 422<br>
repolist: 11,132<br>
[<br>
</font></font>
</div>
<br>_______________________________________________<br>
el mailing list<br>
<a href="mailto:el@lists.osgeo.org">el@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/el" target="_blank">http://lists.osgeo.org/mailman/listinfo/el</a><br>
<br></blockquote></div><br>