Re:WordPress now runs a quarter of the web
by neurostimulant on Monday November 09, 2015 @09:37AM
(#10533223)
Take a look at webfaction. They support apache+php as well as a host of other languages and frameworks (python+django, ruby+rails) by treating them as separate webapp (e.g. each php websites run their own apache instance under local linux user) and uses nginx as reverse proxy in front of those webapps.
The simple answer is that the last time I looked I couldn't find good documentation for getting Python (and Ruby) support working side-by-side with a modern LAMP stack. Most Python (and Ruby) hosting-related documentation assumed nginx, which, while I like it otherwise, still lacked good support for .htaccess files, which are a must-have when providing hosting for people using things like Wordpress and Joomla and Drupal. The documentation that I could find for Apache environments was way, way behind the best practices for a PHP+Apache environment and some of the recommendations were orthogonal to my current environment.
I still would like to provide a hosting environment that can handle a mix of PHP and Python and Ruby, but it's going to be fiddly and involve a lot of trial-and-error and I haven't been able to justify the time sink yet.
Getting suexec + event-mpm + fcgid + PHP opcode caching has been enough of a headache as it is.