[php-maint] Bug#493126: php5-mysql: Apache 2.2.9 with PHP 5.2.6 and php5_mysql causes Apache server to not shutdown properly

Len Padilla debian at padilla.net
Thu Jul 31 15:13:10 UTC 2008


Package: php5-mysql
Version: 5.2.6-2
Severity: important


Hello,

I am running two nearly identical systems, on used to test changes
before implenting them on a production server. They are both mixed etch
and lenny (mostly etch). After a recent upgrade to Apache, PHP5, Mysql
(all from lenny) I have problems with how the apache server shuts down.
If I try to stop apache with 'apache2ctl stop' the children and piped
logging processes all terminate but the master process stays active,
accepts connections (but of course doesn't server anything) and never
dies. I have to 'finish' the termination using kill -9 'master pid'.

I'm pretty sure it isn't my configuration because I reverted to the
default debian apache config and the behavior continues. I removed all
php extensions and then added them back in one at a time. As soon as I
add the mysql extension the problem is observed, independantly of which
other extensions are loaded.

Thanks in advance,
Len

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (990, 'stable'), (300, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.25-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages php5-mysql depends on:
ii  libapache2-mod-php5 [ph 5.2.6-2          server-side, HTML-embedded scripti
ii  libc6                   2.7-10           GNU C Library: Shared libraries
ii  libmysqlclient15off     5.0.51a-9+lenny2 MySQL database client library
ii  php5-cli [phpapi-200606 5.2.6-2          command-line interpreter for the p
ii  php5-common             5.2.6-2          Common files for packages built fr

php5-mysql recommends no packages.

-- debconf information:
  php5/remove_extension: true
  php5/extension_mysql_apache2: true
  php5/add_extension: true
  php5/extension_mysql_cli: true





More information about the pkg-php-maint mailing list