File manager: impossible to edit php3 files

kurgbe

New member
Joined
Jul 14, 2007
Messages
2
Hello,

One of my user cannot edit files with extension php3: the only options proposed in the Action column is: Rename | Copy.

Files with other extensions can be edited. (except .ico .jpg, of course)

Any idea?
 
Last edited:
Add your php3 to MIME Types file.
On my FreeBSD I've got:



Restart Directadmin after updating MIME TYPE file.
You realize that changing the MIME types for the php files to be text will make the sources display, don't you?

EDIT: Whoops. Sorry. I withdraw my statement. Aren't really sure what I was thinking. :p
 
Last edited:
You realize that changing the MIME types for the php files to be text will make the sources display, don't you?
NO, that all is fine.
Apache adds it's own handler on the files with php3, php4 extensions.
Checked on my testing system.
 
Here, what we have in Apache:

application/x-httpd-php .phtml
application/x-httpd-php-source .phps
application/x-httpd-php3 .php3
application/x-httpd-php3-source .phps

mod_php+Apache
 
Back
Top