Package: php4-apd
Version: 0.4p2-5
Severity: important
Tags: patch

Lines for php.ini is added only to /etc/php4/apache/php.ini and cgi
version but not for apache2.

Patch is included.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-686
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to cs_CZ.UTF-8)

Versions of packages php4-apd depends on:
ii  libc6                         2.3.5-3    GNU C Library: Shared libraries an
ii  php4-cli                      4:4.4.0-1  command-line interpreter for the p
ii  php4-pear                     4:4.4.0-1  PHP Extension and Application Repo

Versions of packages php4-apd recommends:
ii  php4                          4:4.4.0-1  server-side, HTML-embedded scripti

-- no debconf information
--- /var/lib/dpkg/info/php4-apd.postinst        2005-04-14 06:02:56.000000000 
+0200
+++ /home/kepi/php4-apd.postinst        2005-08-09 12:48:08.000000000 +0200
@@ -35,6 +35,14 @@
        fi
 fi
 
+if [ -f /etc/php4/apache2/php.ini ]; then
+       if ! grep -q "apd.so" /etc/php4/apache2/php.ini; then
+                       echo "; The following lines were added by the php4-apd 
install script; php4-apd" >> /etc/php4/apache2/php.ini
+                       echo "zend_extension=/usr/lib/php4/20020429/apd.so   ; 
php4-apd" >> /etc/php4/apache2/php.ini
+                       echo "apd.dumpdir=/var/log/php4-apd                  ; 
php4-apd" >> /etc/php4/apache2/php.ini
+       fi
+fi
+
 if [ -f /etc/php4/cgi/php.ini ]; then
        if ! grep -q "apd.so" /etc/php4/cgi/php.ini; then
 #              echo "You are installing APD support for php4, but it is not"

Reply via email to