Comment 1 for bug 175563

Revision history for this message
palichis (palichis-solid) wrote : Re: [Bug 175563] Can't open files with extension php

2007/12/11, makiolo <email address hidden>:
> Public bug reported:
>
> Binary package hint: kompozer
>
> First, my English is a translation of google translator.
>
> When I go to open a file with php extension, I get a dialogue to download or open with kompezor. If it opens again be in the same situation, and I am not interested in downloading, I want to open it!
> If I rename the extension to html, htm ... So I can open it perfectly, even though the I called backup (.php~).
>
> I tried to add the mime.type php
> /usr/share/kompozer/defaults/pref/all.js In line 630 which sets:
>
> pref("network.http.accept.default",
> "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1");
>
> But nothing. thx (is my first bug report)
>
> ** Affects: kompozer (Ubuntu)
> Importance: Undecided
> Status: New
>
> --
> Can't open files with extension php
> https://bugs.launchpad.net/bugs/175563
> You received this bug notification because you are a member of Ubuntu
> Spanish LoCoTeams, which is a bug contact for kompozer in ubuntu.
>

question is installed and configured correctly on your apache module php?

configuration
Inside
/ Etc/apache2/mods-available/php5.load
Must go
LoadModule php5_module / usr/lib/apache2/modules/libphp5.so
libphp5.os if your installed php5
libphp4.so if your installed php4

And within
/ Etc/apache2/mods-available/php5.conf
Must go
<IfModule mod_php5.c>
   AddType application / x-httpd - php. Php. Phtml. Php3
   AddType application / x-httpd-php-source. Phps
</ IfModule>

--
no enviar archivos con formatos privativos ya que no los podre leer,
porfavor mandar en formatos puros como txt, pdf, odt, html, cvs,

palichis - Paul Ochoa
Luis Pasteur 2 - 30 y Nicolas Copernico
Teléfono. 593-7-2451427
Celular 593-99435036
mail: <email address hidden>
chat: <email address hidden>
web: http://www.crice.ec.nu