Bug#380651: apache2: can't open php files

2006-10-15 Thread Josip Rodin
On Mon, Jul 31, 2006 at 05:52:45PM +0200, Uwe Brauer wrote:
 Package: apache2
 Version: 2.0.55-4
 Severity: normal
 
 the file install.php is of type application/x-php (php script)
 and mozilla does not know what to do about it
 
 So it seems that the php4 module is not loaded, but I don't understand
 why
 libapache2-mod-php4
 and all the php4 package are installed.
 
 The php4.load file in 
  /etc/apache2/mods-available contains
 
 LoadModule php4_module /usr/lib/apache2/modules/libphp4.so
 
 
 And this lib exists. So I don't know.

Did you install libapache2-mod-php4 fully, and do you have the
/etc/apache2/apache2.conf file? Because the module package's postinst
script has this:

if [ -e /etc/apache2/apache2.conf ]; then
# Enable the module, but hide a2enmod's misleading message about apachectl
# and force-reload the thing ourselves.
a2enmod php4 /dev/null || true
reload_apache
fi

In any case, can you run manually as root:

a2enmod php4

and then verify that you get something like this:

% ls -l /etc/apache2/mods-enabled/php4.*
lrwxrwxrwx  1 root root 37 2005-10-24 14:46 /etc/apache2/mods-enabled/php4.conf 
- /etc/apache2/mods-available/php4.conf
lrwxrwxrwx  1 root root 37 2005-10-24 14:46 /etc/apache2/mods-enabled/php4.load 
- /etc/apache2/mods-available/php4.load

-- 
 2. That which causes joy or happiness.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#380651: apache2: can't open php files

2006-07-31 Thread Uwe Brauer
Package: apache2
Version: 2.0.55-4
Severity: normal

Hello 

I tried to install for example wordpress (either using the debian
package or download it by myself). The issue is whenever I should open
say the file
install.php
then in mozilla the following message pops up
the file install.php is of type application/x-php (php script)
and mozilla does not know what to do about it

So it seems that the php4 module is not loaded, but I don't understand
why
libapache2-mod-php4
and all the php4 package are installed.

The php4.load file in 
 /etc/apache2/mods-available contains

LoadModule php4_module /usr/lib/apache2/modules/libphp4.so


And this lib exists. So I don't know.

Shall I submit any other script?

Thanks

Uwe Brauer 

Ps the same happens with apache 1.3 for which I will send a separate
report.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages apache2 depends on:
ii  apache2-mpm-prefork   2.0.55-4   traditional model for Apache2

apache2 recommends no packages.

-- no debconf information


pgpWfctZyzNEo.pgp
Description: PGP signature