[php-maint] Bug#705350: libapache2-mod-php5: After installing, need to do "/etc/init.d/apache2 reload" before php works

Thue thuejk at gmail.com
Sat Apr 13 14:18:47 UTC 2013


Package: libapache2-mod-php5
Version: 5.3.3-7+squeeze15
Severity: normal


Doing "aptitude install libapache2-mod-php5" on a completely fresh-installed
system, a simple /var/www/index.php with the content <?php echo 1+1; ?>
does not work (apache server the source code). After doing
"/etc/init.d/apache2 reload" it works.

There are no messages in the aptitude output during installation that a
manual apache restart is necessary. Note that apache is automatically
installed at the same time as libapache2-mod-php5, because apache is
pulled in as a dependency.

Regards, Thue

-- System Information:
Debian Release: 6.0.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libapache2-mod-php5 depends on:
ii  apache2-mpm-prefor 2.2.16-6+squeeze11    Apache HTTP Server - traditional n
ii  apache2.2-common   2.2.16-6+squeeze11    Apache HTTP Server common files
ii  libbz2-1.0         1.0.5-6+squeeze1      high-quality block-sorting file co
ii  libc6              2.11.3-4              Embedded GNU C Library: Shared lib
ii  libcomerr2         1.41.12-4stable1      common error description library
ii  libdb4.8           4.8.30-2              Berkeley v4.8 Database Libraries [
ii  libgssapi-krb5-2   1.8.3+dfsg-4squeeze6  MIT Kerberos runtime libraries - k
ii  libk5crypto3       1.8.3+dfsg-4squeeze6  MIT Kerberos runtime libraries - C
ii  libkrb5-3          1.8.3+dfsg-4squeeze6  MIT Kerberos runtime libraries
ii  libmagic1          5.04-5+squeeze2       File type determination library us
ii  libonig2           5.9.1-1               Oniguruma regular expressions libr
ii  libpcre3           8.02-1.1              Perl 5 Compatible Regular Expressi
ii  libqdbm14          1.8.77-4              QDBM Database Libraries [runtime]
ii  libssl0.9.8        0.9.8o-4squeeze14     SSL shared libraries
ii  libxml2            2.7.8.dfsg-2+squeeze7 GNOME XML library
ii  mime-support       3.48-1                MIME files 'mime.types' & 'mailcap
ii  php5-common        5.3.3-7+squeeze15     Common files for packages built fr
ii  tzdata             2012g-0squeeze1       time zone and daylight-saving time
ii  ucf                3.0025+nmu1           Update Configuration File: preserv
ii  zlib1g             1:1.2.3.4.dfsg-3      compression library - runtime

Versions of packages libapache2-mod-php5 recommends:
ii  php5-cli               5.3.3-7+squeeze15 command-line interpreter for the p

Versions of packages libapache2-mod-php5 suggests:
pn  php-pear                      <none>     (no description available)

-- no debconf information



More information about the pkg-php-maint mailing list