Comment Re: According to the notes, it isn't in the wild (Score 1) 45
I never said that having web files not owned by the web user makes your site secure. I just said that it's not a good idea to have files in the WEBROOT that are writable by the web user because that makes defacing a site or even running malware in clients' web browsers trivial.
My personal web site uses PHP, but I don't use a database because the site is simple enough not to require one. I use PHP more-or-less as a templating engine to include standard boilerplate headers and footers on all of the pages.