4 Answers
+ 4
I don't know actually but I think PHP is better.
+ 2
Today Most of the web servers are running on php.
I think php is better.
But framework in python like flask, Django makes development easier and scalable.
+ 1
If you build a website that will be receiving any sort of payment details, security must be the top concern. I think Python has an edge over PHP in that regard.
I know both and I wouldn't say Python is easier. But ease shouldn't really be much of a consideration for the intended purpose of online shops.
https://scand.com/company/blog/php-vs-python/