The only tangible advantage that PHP has these days is in being able to be deployed pretty much everywhere for fairly cheaply.
If 'cost' is your absolute and only criteria, the answer is probably PHP. If place any other criteria above cost for language choices, the answer is probably Python.
Usually these questions involve more, and are harder to answer, but this one's generally pretty easy. Python.
The only tangible advantage that PHP has these days is in being able to be deployed pretty much everywhere for fairly cheaply.
If 'cost' is your absolute and only criteria, the answer is probably PHP. If place any other criteria above cost for language choices, the answer is probably Python.
Usually these questions involve more, and are harder to answer, but this one's generally pretty easy. Python.