毫无疑问, web领域, php碾压一切。 我尝试过用nodejs、golang、java、kotlin、php、python进行web开发。
关于php和python在web开发领域的比较, python官网有详细对比
Compared as Web Development Frameworks
Unlike PHP, which has web development features built directly into the core language, Python's web development capabilites are provided by add-on modules. Basic CGI capabilities are provided by the 'cgi' module which comes in Python's standard library. There's also a wide range of third-party modules available for Python; some are complementary, others compete. As a result, Python provides a more flexible base for web development.
There are some adverse side effects of this flexibility. First, the range of choices can be bewildering. Unless you are working experienced Python web developers, PHP is easier to get started with. Second, support for PHP is more common with shared-hosting companies than support for the various Python options.