Php files are not being browse

Tapas Mishra mightydreams at gmail.com
Tue Aug 2 18:09:51 UTC 2011


On Tue, Aug 2, 2011 at 10:43 PM, Tapas Mishra <mightydreams at gmail.com> wrote:
> On Tue, Aug 2, 2011 at 5:46 PM, Amrit Pal Pathak
> <amritpalpathak1 at gmail.com> wrote:
>>
>>
>> On Tue, Aug 2, 2011 at 5:28 PM, Tapas Mishra <mightydreams at gmail.com> wrote:
>>>
>>> On Tue, Aug 2, 2011 at 3:55 PM, Amrit Pal Pathak
>>> <amritpalpathak1 at gmail.com> wrote:
>>> >
>>> > When i try to browse  php file on my system it dont browse.But browse
>>> > ask to
>>> > download it (save).
>>> > Why?
>>> > I have install php and apache2 with ubuntu 10.04
>>> > --
>>> Paste the permissions of your document root or where ever ur files are.
>>> Your Apache log when you try to access them and your vhost config files.
>>
>>     Files are placed at /var/www and on Desktop.From any
>>    location it is not being browse
>>>

Paste the output of following

webfile="/var/www/index.html"
ls -l "$webfile"
while [ "$webfile" != "/" ]
do
    webfile=`dirname "$webfile"`
    ls -ld "$webfile"
done




More information about the ubuntu-users mailing list