I guess I don't even think of these two languages as direct competitors. PHP is highly geared towards web scripting, Python is highly geared towards... well, just about every sort of scripting, and a lot of other stuff too. I don't think PHP has nearly the versatility of Python.