I'm having bit of a trouble here. I have a SLES machine which was running on php 5.3, but for some reason it was downgraded to 5.2. Since 5.3 can't be installed over YAST (repositories aren't up to date, and there's no connection to the internet to update those) I have to install php from source.
I have googled and read the INSTALL documentation, but I can't figure out how to install 5.3 the same way it was before. The current installation is in /etc/php5 with apache being installed in /etc/apache2, and I need support for PDO with PostGres. phpinfo states the following for the configure command
'./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'
Any help is greatly appreciated!