[evolvis-commits] r7274: Added ldap extension check in php. ini↵
mirabilos at evolvis.org
mirabilos at evolvis.org
Thu Feb 24 15:37:32 CET 2011
Author: mirabilos
Date: 2011-02-24 15:37:32 +0100 (Thu, 24 Feb 2011)
New Revision: 7274
Modified:
trunk/gforge_base/evolvisforge-5.1/gforge/debian/sourceforge.postinst
Log:
Added ldap extension check in php.ini
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/sourceforge.postinst
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/sourceforge.postinst 2011-02-24 14:37:31 UTC (rev 7273)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/sourceforge.postinst 2011-02-24 14:37:32 UTC (rev 7274)
@@ -117,7 +117,7 @@
echo "Include /etc/sourceforge/sf-httpd.conf" >> /etc/apache/httpd.conf
fi
- # Make sure pgsql and gd are enabled in the PHP config files
+ # Make sure pgsql,ldap and gd are enabled in the PHP config files
if [ -f /etc/php4/apache/php.ini ]; then
if ! grep -q "^[[:space:]]*extension[[:space:]]*=[[:space:]]*pgsql.so" /etc/php4/apache/php.ini; then
echo "Enabling pgsql in /etc/php4/apache/php.ini"
@@ -127,6 +127,10 @@
echo "Enabling gd in /etc/php4/apache/php.ini"
echo "extension=gd.so" >> /etc/php4/apache/php.ini
fi
+ if ! grep -q "^[[:space:]]*extension[[:space:]]*=[[:space:]]*ldap.so" /etc/php4/apache/php.ini; then
+ echo "Enabling ldap in /etc/php4/apache/php.ini"
+ echo "extension=ldap.so" >> /etc/php4/apache/php.ini
+ fi
fi
if [ -f /etc/php4/cgi/php.ini ]; then
if ! grep -q "^[[:space:]]*extension[[:space:]]*=[[:space:]]*pgsql.so" /etc/php4/cgi/php.ini; then
More information about the evolvis-commits
mailing list