It's very rare to find someone deploying with mod_php today. The security implications are too dire, and the performance/memory usage is problematic. There are a number of ways to run PHP under a reasonably modern app server model, and with the security of suexec. FPM being the most modern, but there are lots of mod_fcgid deployments out there, as well.
I'm not a fan of coding in PHP, but it's still a reasonable choice for developing applications that you want to be able to run everywhere. In fact, if your goal is to make something people will use very widely, PHP may still be the best choice for web apps. There are still lots of shared hosting accounts out there (I know, I can't believe it either, in a world with so many low cost virtualized options), and many can only reasonably run PHP apps.
Plus, who can you trust nowadays?
In 2025 someone might ask why $oldStack developers don't always do $newHotness. It's often the timing of popularity that tools grow together.
This is just apocrypha, but MySQL was popular during the rise of PHP because MySQL was more performant on small databases on developer workstations.
Compared to what, exactly? Ruby? I'll give you Node for double performance and roughly equivalent (and annoying) maintenance, but PHP's security story, with or without the various popular frameworks, is at least as good. Any stack built on the JVM has its own set of tradeoffs -- I would rather maintain PHP than any standard JavaEE solution, but I would rather maintain anything built on Clojure's Ring than PHP. These days Python with Flask is my go-to solution for quick things where I might have used PHP in the past, but even then there are tradeoffs, near the top being you can't just deploy to any shared hosting service that's been around for over a decade.
Other alternatives included about any safe, systems or apps language of the time. Ada, Pascal, industrial BASIC, Smalltalk, Common LISP, Ocaml, Eiffel, and so on. Even subsets of C++ and Java using simpler frameworks were better for some although I didn't try that haha. REBOL might have had something then, too. Didn't get around go trying it, though.
As an example, I run one of the applications mentioned here for several customers in chrooted read-only no-exec environments without fuss. The platform gives me good tools for instrumentation and logging in order to work proactively withever operations issues that arise.
Even if your (or mine) favourite language had a community large enough to develop great webmail tools, very few has a deployment story to match.
Wordpress runs on PHP. Drupal runs on PHP. Joomla runs on PHP. Ergo, ISPs know how to build servers that run PHP. Ergo, if you're writing software that targets the ISP market, you write it in PHP.
Asking as a noob who started learning JS and Python :-)
It makes sense to go all JavaScript, especially since Node.js seems to offer some advantages over Python.
I commented in the first place because I was surprised that Kite uses JS+Python, a unique combination for an email client from what I've seen (which is not a lot).
I'm not interested, nor do I have the capabilities to make an email client (I can reskin RoundCube or use Gmail) or any app, for now.
But the reason I want to learn JavaScript, as well as Python, is because I want to get a feel of how both work, and not get binned in the "uses JavaScript for everything" category, which seems to be a bad thing :-).
It was hard to decide on a language to learn by myself, C and Java are recommended, but look hard to begin with. I don't want to get discouraged early on.
JavaScript is always needed (monetary opportunities) and rather easy, Python also seems easy to learn and very flexible. Ruby was my other choice, but I feel like I'm going to get overwhelmed studying them all at once.
Maybe it "just works" but all of these projects feel ancient to me because of their stack despite being brand new. Sure as a user it doesn't matter but as the maintainer/administrator I just don't want to deal with it. Modphp? Yuck.
We don't always need to use the new new thing all the time but I can't shake the feeling that the same person who runs this is also rocking an unpached PHPMyAdmin and PHPMySQL.