Is it a permissions problem???

I have the Install Directory set as 777 and the php and tmpl files also set at 777, but were previously at 666 but still didn't work, which is why I changed them all to 777.