There is no way to allow 777. And if magento really need its php files to have that permission, I'd suggest using something else. 777 means world writable, which would make it very easy for anyone to hack/modify your files, which is why the server is setup so an error will be thrown if you have...