summaryrefslogtreecommitdiff
path: root/libraries/php-pgsql
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/php-pgsql')
-rw-r--r--libraries/php-pgsql/pgsql.ini19
-rw-r--r--libraries/php-pgsql/php-pgsql.SlackBuild8
-rw-r--r--libraries/php-pgsql/php-pgsql.info8
3 files changed, 27 insertions, 8 deletions
diff --git a/libraries/php-pgsql/pgsql.ini b/libraries/php-pgsql/pgsql.ini
index 7b4a92e8a7..d5fc809ef2 100644
--- a/libraries/php-pgsql/pgsql.ini
+++ b/libraries/php-pgsql/pgsql.ini
@@ -1,2 +1,21 @@
; Enable intl extension module
; extension=pgsql.so
+
+; Whether to allow persistent Postgres connections.
+; pgsql.allow_persistent="1"
+
+; The maximum number of persistent Postgres connections per process.
+; pgsql.max_persistent="-1"
+
+; The maximum number of Postgres connections per process, including persistent connections.
+; pgsql.max_links="-1"
+
+; Detect broken persistent links with pg_pconnect(). Needs a little overhead.
+; pgsql.auto_reset_persistent="0"
+
+; Whether or not to ignore PostgreSQL backend notices.
+; pgsql.ignore_notice="0"
+
+; Whether or not to log PostgreSQL backends notice messages. The PHP directive
+; pgsql.ignore_notice must be off in order to log notice messages.
+; pgsql.log_notice="0"
diff --git a/libraries/php-pgsql/php-pgsql.SlackBuild b/libraries/php-pgsql/php-pgsql.SlackBuild
index c1874cf4da..e7df477031 100644
--- a/libraries/php-pgsql/php-pgsql.SlackBuild
+++ b/libraries/php-pgsql/php-pgsql.SlackBuild
@@ -24,7 +24,7 @@
SRCNAM=php
PRGNAM=php-pgsql
-VERSION=5.3.13
+VERSION=5.4.6
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,7 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.xz
+tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
cd $SRCNAM-$VERSION
chown -R root:root .
find . \
@@ -72,9 +72,9 @@ find . \
cd ext/pgsql/
-PHP_CONFIG=php-config
+PHP_CONFIG=/usr/bin/php-config
-phpize
+/usr/bin/phpize
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
diff --git a/libraries/php-pgsql/php-pgsql.info b/libraries/php-pgsql/php-pgsql.info
index 6383b058e9..3bc3358fc4 100644
--- a/libraries/php-pgsql/php-pgsql.info
+++ b/libraries/php-pgsql/php-pgsql.info
@@ -1,8 +1,8 @@
PRGNAM="php-pgsql"
-VERSION="5.3.13"
-HOMEPAGE="http://pecl.php.net/package/pgsql"
-DOWNLOAD="http://slackware.osuosl.org/slackware-13.37/patches/source/php/php-5.3.13.tar.xz"
-MD5SUM="b05ce12f46904225f8730607c14e077a"
+VERSION="5.4.6"
+HOMEPAGE="http://php.net/manual/en/book.pgsql.php"
+DOWNLOAD="http://www.php.net/distributions/php-5.4.6.tar.bz2"
+MD5SUM="c9aa0f4996d1b91ee9e45afcfaeb5d2e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="postgresql"