[php-maint] Bug#738959: Should protect apache php5.conf file with IfModule directives, and use version 2.4 allow directives

Julian Gilbey jdg at debian.org
Fri Feb 14 09:15:48 UTC 2014


Package: libapache2-mod-php5
Version: 5.5.9+dfsg-1
Severity: normal
Tags: patch

It is wise to surround the apache config file with an <IfModule
mod_php5.c> directive, just in case for some bizarre reason the config
script is still enabled even after the module is disabled or the
package removed.  Its presence won't harm but might protect.  The
attached patch includes this.

More significantly, the config file still uses the apache 2.2
Allow/Deny directives; the attached patch converts these into the
equivalent apache 2.4 directives.

   Julian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: php5.conf.diff
Type: text/x-diff
Size: 861 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20140214/5a9f4c2d/attachment.diff>


More information about the pkg-php-maint mailing list