php4: postinst corrupts apache config file

Bug #7887 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
php4 (Debian)
Fix Released
Unknown
php4 (Ubuntu)
Invalid
High
Thom May

Bug Description

Automatically imported from Debian bug report #270922 http://bugs.debian.org/270922

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #270922 http://bugs.debian.org/270922

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (6.2 KiB)

Message-ID: <email address hidden>
Date: Fri, 10 Sep 2004 02:25:01 +0200
From: Eric Van Buggenhaut <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: php4: postinst corrupts apache config file

Package: php4
Version: 4.1.2-7.0.1
Severity: grave

piano:/home/eric# apt-get install php4
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  php4
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/583kB of archives. After unpacking 1402kB will be used.
Selecting previously deselected package php4.
(Reading database ... 24303 files and directories currently installed.)
Unpacking php4 (from .../php4_4%3a4.1.2-7.0.1_i386.deb) ...
Setting up php4 (4.1.2-7.0.1) ...
I see you have apache webserver installed and so far you haven't
used the apache module version of php4 in your apache. If you
want to use it, you should reconfigure the apache webserver and
select to load the php module. I can call the apacheconfig script
now for you to do it, or you can insert the following line into
/etc/apache/httpd.conf manually:

LoadModule php4_module /usr/lib/apache/1.3/libphp4.so

Do you want me to run the apacheconfig script now [y/N] ? y
Finding DSO mods........................................found.

# LoadModule vhost_alias_module /usr/lib/apache/1.3/mod_vhost_alias.so
# LoadModule env_module /usr/lib/apache/1.3/mod_env.so
LoadModule config_log_module /usr/lib/apache/1.3/mod_log_config.so
LoadModule mime_magic_module /usr/lib/apache/1.3/mod_mime_magic.so
LoadModule mime_module /usr/lib/apache/1.3/mod_mime.so
LoadModule negotiation_module /usr/lib/apache/1.3/mod_negotiation.so
LoadModule status_module /usr/lib/apache/1.3/mod_status.so
# LoadModule info_module /usr/lib/apache/1.3/mod_info.so
# LoadModule includes_module /usr/lib/apache/1.3/mod_include.so
LoadModule autoindex_module /usr/lib/apache/1.3/mod_autoindex.so
LoadModule dir_module /usr/lib/apache/1.3/mod_dir.so
LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so
# LoadModule asis_module /usr/lib/apache/1.3/mod_asis.so
# LoadModule imap_module /usr/lib/apache/1.3/mod_imap.so
# LoadModule action_module /usr/lib/apache/1.3/mod_actions.so
# LoadModule speling_module /usr/lib/apache/1.3/mod_speling.so
LoadModule userdir_module /usr/lib/apache/1.3/mod_userdir.so
LoadModule alias_module /usr/lib/apache/1.3/mod_alias.so
LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so
LoadModule access_module /usr/lib/apache/1.3/mod_access.so
LoadModule auth_module /usr/lib/apache/1.3/mod_auth.so
# LoadModule anon_auth_module /usr/lib/apache/1.3/mod_auth_anon.so
# LoadModule dbm_auth_module /usr/lib/apache/1.3/mod_auth_dbm.so
# LoadModule db_auth_module /usr/lib/apache/1.3/mod_auth_db.so
# LoadModule proxy_module /usr/lib/apache/1.3/libproxy.so
# LoadModule digest_module /usr/lib/apache/1.3/mod_digest.so
# LoadModule cern_meta_module /usr/lib/apache/1.3/mod_cern_meta.so
LoadModule expires_module /usr/lib/apache/1.3/mod_expires.so
# LoadModule headers_module /usr/lib/apache/1.3/mod_headers.so
# LoadModule usertrack_module /usr/lib/apache/1.3/mod_usertrack.so
LoadModule...

Read more...

Revision history for this message
In , Steve Langasek (vorlon) wrote : specific to woody

tags 270922 woody
thanks

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 9 Sep 2004 19:09:55 -0700
From: Steve Langasek <email address hidden>
To: <email address hidden>
Subject: specific to woody

tags 270922 woody
thanks

Revision history for this message
Matt Zimmerman (mdz) wrote :

Doesn't affect sarge, and Warty is fairly close

Revision history for this message
In , Adam Conrad (adconrad) wrote : RE: Bug#270922: php4: postinst corrupts apache config file

reassign 270922 apache-common
tags 270922 woody
severity 270922 normal
thanks

Eric Van Buggenhaut wrote:
>
> Do you want me to run the apacheconfig script now [y/N] ? y
> Finding DSO mods........................................found.
[...]
> 2. what is much more important, the postinst script rewrites unrelated
parts
> of /etc/apache/httpd.conf and breaks the web server config file.
That's why
> I tagged the bug as grave.

apacheconfig is known to be pretty useless (I would have answered "No",
if I were you, but at least it saves a backup of your httpd.conf, making
this almost certainly not "grave"). apacheconfig no longer exists in
Sarge, thankfully.

... Adam

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <0c3e01c49715$e3f729b0$0400000a@0c3.net>
Date: Fri, 10 Sep 2004 19:09:32 +1000
From: "Adam Conrad" <adconrad@0c3.net>
To: <email address hidden>,
 <email address hidden>
Cc: <email address hidden>
Subject: RE: Bug#270922: php4: postinst corrupts apache config file

reassign 270922 apache-common
tags 270922 woody
severity 270922 normal
thanks

Eric Van Buggenhaut wrote:
>=20
> Do you want me to run the apacheconfig script now [y/N] ? y
> Finding DSO mods........................................found.
[...]
> 2. what is much more important, the postinst script rewrites unrelated
parts
> of /etc/apache/httpd.conf and breaks the web server config file.
That's why
> I tagged the bug as grave.

apacheconfig is known to be pretty useless (I would have answered "No",
if I were you, but at least it saves a backup of your httpd.conf, making
this almost certainly not "grave"). apacheconfig no longer exists in
Sarge, thankfully.

... Adam

Revision history for this message
In , Touko Korpela (tkorpela) wrote : Closing woody bugs

closing as woody is no longer supported

Changed in php4:
status: New → Fix Released
Revision history for this message
In , Debbugs Internal Request (owner-bugs) wrote : Internal Control

# A New Hope
# A log time ago, in a galaxy far, far away
# something happened.
#
# Magically this resulted in the following
# action being taken, but this fake control
# message doesn't tell you why it happened
#
# The action:
# Bug archived.
thanks
# This fakemail brought to you by your local debbugs
# administrator

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.