[Pkg-mediawiki-devel] Bug#530328: mediawiki: opening "you have chosen to open" "which is a: phtml file"

Kingsley G. Morse Jr. change at nas.com
Sun May 24 06:23:17 UTC 2009


Package: mediawiki
Version: 1:1.14.0-1
Severity: normal


Greetings.

Please consider...

When I try to point the iceweasel web browser at

    http://localhost/mediawiki/

it pops up a little window titled

    "opening"

which says

    you have chosen to open 
    
    which is a: phtml file

    What should iceweasel do with this file?

        Open with <browse>

        Save file

        Do this automatically for files like this from now on.

                                <cancel>    <OK>

I seem to have fixed it by 

    1.) installing the libapache2-mod-php5
    package,

    2.) $ apache2ctl restart

    3.) and clearing iceweasel's cache via
    edit->preferences->privacy->(private data)clear now

Aptitude also made some other changes which
seem to me to be unlikely to have helped, but I
mention them for the sake of completeness...

    $ aptitude install libapache2-mod-php5
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Reading extended state information       
    Initializing package states... Done
    Reading task descriptions... Done  
    The following packages are BROKEN:
      php5-cgi php5-cli php5-gd php5-mysql 
    The following NEW packages will be installed:
      apache2-mpm-prefork{a} libapache2-mod-php5 
    The following packages will be REMOVED:
      apache2-mpm-worker{a} 
    The following packages will be upgraded:
      php5-common 
    1 packages upgraded, 2 newly installed, 1 to remove and 2194 not upgraded.
    Need to get 3135kB of archives. After unpacking 5562kB will be used.
    The following packages have unmet dependencies:
      php5-gd: Depends: php5-common (= 5.2.9.dfsg.1-2) but 5.2.9.dfsg.1-4 is to be installed.
      php5-mysql: Depends: php5-common (= 5.2.9.dfsg.1-2) but 5.2.9.dfsg.1-4 is to be installed.
      php5-cgi: Depends: php5-common (= 5.2.9.dfsg.1-2) but 5.2.9.dfsg.1-4 is to be installed.
      php5-cli: Depends: php5-common (= 5.2.9.dfsg.1-2) but 5.2.9.dfsg.1-4 is to be installed.
    The following actions will resolve these dependencies:

    Upgrade the following packages:
    php5-cgi [5.2.9.dfsg.1-2 (now) -> 5.2.9.dfsg.1-4 (unstable)]
    php5-cli [5.2.9.dfsg.1-2 (now) -> 5.2.9.dfsg.1-4 (unstable)]
    php5-gd [5.2.9.dfsg.1-2 (now) -> 5.2.9.dfsg.1-4 (unstable)]
    php5-mysql [5.2.9.dfsg.1-2 (now) -> 5.2.9.dfsg.1-4 (unstable)]

    Score is 210

Perhaps mediawiki should depend on libapache2-mod-php5.

Thanks,
Kingsley

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages mediawiki depends on:
ii  apache2                   2.2.11-4       Apache HTTP Server metapackage
ii  apache2-mpm-prefork [http 2.2.11-4       Apache HTTP Server - traditional n
ii  debconf [debconf-2.0]     1.5.26         Debian configuration management sy
ii  mime-support              3.26-1         MIME files 'mime.types' & 'mailcap
ii  php5                      5.2.9.dfsg.1-2 server-side, HTML-embedded scripti
ii  php5-mysql                5.2.9.dfsg.1-4 MySQL module for php5

Versions of packages mediawiki recommends:
ii  mysql-server              5.0.81-1       MySQL database server (metapackage
ii  mysql-server-5.0 [mysql-s 5.0.81-1       MySQL database server binaries
ii  php5-cli                  5.2.9.dfsg.1-4 command-line interpreter for the p

Versions of packages mediawiki suggests:
ii  clamav                 0.93.3.dfsg-1     anti-virus utility for Unix - comm
ii  imagemagick            7:6.2.4.5.dfsg1-1 Image manipulation programs
pn  mediawiki-math         <none>            (no description available)
pn  memcached              <none>            (no description available)
ii  php5-gd                5.2.9.dfsg.1-4    GD module for php5

-- debconf information:
* mediawiki/webserver: apache2





More information about the Pkg-mediawiki-devel mailing list