升级PHP 5.2到5.3

我在这儿有点麻烦 我有一个运行在PHP 5.3上的SLES机器,但由于某种原因,它被降级到了5.2。 由于5.3不能安装YAST(存储库不是最新的,并没有连接到互联网来更新这些)我必须从源代码安装PHP。

我已经GOOGLE了,并阅读INSTALL文档,但我不知道如何安装5.3以前的方式。 目前的安装位于/ etc / php5,并且在/ etc / apache2中安装了apache,我需要使用PostGres支持PDO。 phpinfo为configure命令指出以下内容

'./configure' '--prefix=/usr' '--datadir=/usr/share/php5' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--with-libdir=lib64' '--includedir=/usr/include' '--sysconfdir=/etc/php5/apache2' '--with-config-file-path=/etc/php5/apache2' '--with-config-file-scan-dir=/etc/php5/conf.d' '--enable-libxml' '--enable-session' '--with-mm' '--with-pcre-regex=/usr' '--enable-xml' '--enable-simplexml' '--enable-spl' '--enable-filter' '--disable-debug' '--enable-inline-optimization' '--disable-rpath' '--disable-static' '--enable-shared' '--program-suffix=5' '--with-pic' '--with-gnu-ld' '--with-system-tzdata=/usr/share/zoneinfo' '--with-apxs2=/usr/sbin/apxs2' '--disable-all' '--disable-cli' 

任何帮助是极大的赞赏!

键入“configure –help”找出你需要的任何东西,然后添加到configure命令中。

支持使用postgres 的PDO –with-pdo-pgsql = DIR DIR是PostgreSQL的基本安装目录或pg_config的path

我已经跟pipe理员说过了。 我们已经用SP2更新了机器,其中还包括php 5.3。

我现在有一些configuration问题,但我会看看我是否可以修复它们,否则是新的问题。

感谢您的帮助;)