[php-maint] Bug#490023: install of php5-pgsql should ideally reload apache2 if libapache2-mod-php5 is in use

Gavin McCullagh gavin.mccullagh at gcd.ie
Wed Jul 9 11:09:50 UTC 2008


Package: php5-pgsql
Version: 5.2.0-8+etch11
Severity: wishlist


When upgrading an etch web server from PHP4 to PHP5 I recently did something like

	apt-get install libapache2-mod-php5 php5-cli php5-common php5-pgsql php5-mysql .....

and all went reasonably well, except that when I went to look at the main web application it was down due to pgsql not being available.

This was because apache2 was restarted when libapache2-mod-php5 was installed, but php5-pgsql was subsequently installed without a restart of apache2, 
so PHP5 had not yet loaded the pgsql support.

It seems like installing modules like php5-pgsql should probably trigger this restart if libapache2-mod-php5 is installed?



-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_IE at euro, LC_CTYPE=en_IE at euro (charmap=ISO-8859-15)

Versions of packages php5-pgsql depends on:
ii  libapache2-mod-php5 [p 5.2.0-8+etch11    server-side, HTML-embedded scripti
ii  libc6                  2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii  libpq4                 8.1.11-0etch1     PostgreSQL C client library
ii  php5-cli [phpapi-20060 5.2.0-8+etch11    command-line interpreter for the p
ii  php5-common            5.2.0-8+etch11    Common files for packages built fr

php5-pgsql recommends no packages.

-- no debconf information





More information about the pkg-php-maint mailing list