Chmod 755 www after deploy.

Or PHP doesn't get executed by apache server.