[php-maint] Bug#391549: libphp4.so is garbled - perhaps this is not an Apache module DSO

Vítězslav Kotrla vitko at post.cz
Sat Oct 7 10:13:03 CEST 2006

Package: libapache2-mod-php4
Version: 4.4.4-2

While installing libapache2-mod-php4 on clean (well, all apache and php
stuff purged) AMD64 Sid system:

# apt-get install libapache2-mod-php4
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  apache2-mpm-prefork php4-common
Suggested packages:
The following NEW packages will be installed:
  apache2-mpm-prefork libapache2-mod-php4 php4-common
0 upgraded, 3 newly installed, 0 to remove and 26 not upgraded.
Need to get 0B/2261kB of archives.
After unpacking 4637kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Selecting previously deselected package apache2-mpm-prefork.
(Reading database ... 101889 files and directories currently installed.)
Unpacking apache2-mpm-prefork
(from .../apache2-mpm-prefork_2.2.3-1_amd64.deb) ...
Selecting previously deselected package php4-common.
Unpacking php4-common (from .../php4-common_4%3a4.4.4-2_amd64.deb) ...
Selecting previously deselected package libapache2-mod-php4.
Unpacking libapache2-mod-php4 (from .../libapache2-mod-php4_4%
3a4.4.4-2_amd64.deb) ...
Setting up apache2-mpm-prefork (2.2.3-1) ...
Starting web server (apache2)...apache2: Could not reliably determine
the server's fully qualified domain name, using for ServerName

Setting up php4-common (4.4.4-2) ...
Setting up libapache2-mod-php4 (4.4.4-2) ...
Your apache2 configuration is broken, so we're not restarting it for

Something seems to be wrong.

# /etc/init.d/apache2 stop
Stopping web server (apache2)....
# /etc/init.d/apache2 start
Starting web server (apache2)...apache2: Syntax error on line 185
of /etc/apache2/apache2.conf: Syntax error on line 1
of /etc/apache2/mods-enabled/php4.load: API module structure
`php4_module' in file /usr/lib/apache2/modules/libphp4.so is garbled -
perhaps this is not an Apache module DSO?

The end.

More information about the pkg-php-maint mailing list