Having so many frameworks to work in, I'd say they are both on par. PHP is strictly for web applications, while Python is a universal language.
I am really biassssed, but Python is my choice. It's simply because you can do so much more with it, while PHP is only for the web. Both handle MySQL finely, to be fair.
I am working on a personal project which includes a video & photo db but stuck between choosing python or php. I'm using mysql for back end. From the start php felt clunky and a bloated language but python seems crisp & neat. There is no specific requirement for the scripting language. So, if you were in my situation which one you choose? Help much needed :)