php files not opening in firefox
Colin Law
clanlaw at googlemail.com
Wed Feb 9 13:54:05 UTC 2011
On 9 February 2011 13:48, Ashim Kapoor <ashimkapoor at gmail.com> wrote:
> I forgot which user /other needs it but just check if it is not a
>>
>> production machine
>> chmod +x /var/www/*
>> and then restart apache2 should do.
>>
>
> I did that. Now when I click on a file it says to you want to display it or
> run in terminal ?
>
> When i say run in terminal nothing happens, when i say display it ,it open
> in gedit. How do i get it to open in FF.No the php scripts should have
> execute permissions.
This is the first time, I think, that you have explained that the
problem is that FF is not being used to open the file.
Right click a php file and select Properties. Select Open With.
Select FF if it is there, otherwise select Add and tell it to use FF.
It will then use that for all php files. That is for Ubuntu 10.10, it
may be slightly different on other versions.
Colin
More information about the ubuntu-users
mailing list