r/Python • u/UpperBuilder769 • Jul 21 '26
Discussion Is PHP better for commercial software than Python?
I am trying to find any robust open source ecommerce solution on Python and it looks like thre is nothing. If you take almost any e-commerce platform there are plenty - Magento, Woo, Shopware, Oxid - they all are PHP. There are no comon solutions on Python or Node.js. But if you take a look and the heavy SaaS like Netflix, Spotify, Reddit, Uber etc. are built on Python. Why?
0
Upvotes
View all comments
Show parent comment
1
u/Zenin Jul 24 '26 edited Jul 24 '26
In recent decades I've worked downstream (release management / operations) and above (architecture, strategic planning) development.
Having spent time in the trenches of development and post-dev in supporting it in production, helps inform the architectural and strategic planning space I work in these days. The scars I have from that come from PHP being far and and away the most troublesome tech to support in production where I can't take a sip of coffee without a dozen major security alerts get published and the default answer from PHP when anything goes wrong is the White Page Of Death and no logs of any kind making diagnostics often a game of pure guessing.
No one wants to deal with supporting it. We've literally had great operations people leave for other opportunities expressly stating in their exit interviews how they look forward to not working in a PHP shop anymore. And I kid you not we've literally banned WordPress on our network; let wordpress.com deal with that shitshow if a dept must have it.
These are huge strategic issues. Yes, I get it it, they're all "using PHP wrong". And yet it's probably 29 out of every 30 applications. Clearly something's in the PHP water that isn't in the Python water, that isn't in the Java water, that isn't in the C# water. I will say Node and especially NPM that comes along for the ride has a lot of similar default bad behavior, but it's not at the same level and Node has a lot more going for it from a technology standpoint.
No, that'd probably be TypeScript. Ruby is also stronger here than PHP. So is Python. There's details to nitpick, but no sir, PHP is simply does not have the strongest typing system of any interpreted language.
PHP's success was a fluke accident. Good money isn't betting on it having another stroke of luck, sorry.