I hope it's ok to discuss this offtopic question, otherwise feel free to delete it.
As I was reading through the "Welcome to the GrapheneOS discussion forum!" topic, I came across a post from Daniel (strcat), in which he talks about why the GrapheneOS team choosed to use Flarum as the forum software and that they explitly tried to avoid PHP. This gave me the impression that PHP is insecure and should therefore be avoided. Did I misinterpreted something or is it true that PHP is considered as insecure?
What are better alternatives to PHP?
There was also a part in the mentioned post above, that Daniel would prefer PostgreSQL, which led me to a similiar question: what are secure databases? What are insecure databases?
And now I'm going crazy: if you would develop some general sort of web page/application from ground up, what software/frameworks would you consider? What would you try to avoid?
I know that these are vague questions and that it always depends, but it would be nice to get some kind of direction.