Nothing really wrong with PHP or Matomo, which is why I mention it as something I would recommend. But, it is a requirement for hosting Matomo.
I would pick a different stack today mostly due to wanting to try other stuff out, and not so much because something was broken about it. Website still loads faster than 99% of the internet today, and I'm happy with it.