I still build mildly dynamic websites in PHP once in a while. But this is only useful when it is a very small website (max 5 pages?) because you have to work with a directory structure to go without framework.
The moment your site gets a little bigger you need some kind of routing. This means you start redirecting all requests to one PHP file.
Then you start using forms and you need a database, a little framework for responses, and so on.
So you very quickly need a framework. This can of course be a very small framework.
The point is, small frameworks are so easy to setup you start skipping the 'mildly dynamic website' part because it doesn't scale at all.