News for hackers. Stuff that matters.
Re:The demise of the mildly dynamic website (2022) by Legion on Wednesday June 19, 2024 @07:06PM (#40733342)
PHP deployment was indeed easy.

But it turns out "dump everything in docroot and let mod_php interpret and execute whatever it finds there" had security implications...

Re:The demise of the mildly dynamic website (2022) by cies on Wednesday June 19, 2024 @07:46PM (#40733546)
indeed.

the gap with PHP and alternative stacks has mostly closed.

PHP apps now alse get deployed by container or VM... so why not go with something like Kotlin + kotlin.html (HTML eDSL for server-side templating and HTMX), Ktor or http4k (web libs), jOOQ (SQL eDSL with some typesafety on queries) and Postgres?

the PHP, MySQL (MyISAM), mod_php, Apache days are over. and it's not only for security reasons: there are alternatives that score better in every dimension AND run/deploy well on cheap hosting

Re:The demise of the mildly dynamic website (2022) by oopsallmagic on Wednesday June 19, 2024 @10:22PM (#40734291)
You always had to configure your web server properly. "Don't let programs execute arbitrary code" was a solved problem even then.