I vote for Python, but this actually requires some context.
PHP stands for Hypertext Preprocessor. It was designed for the Web, but nowadays itʼs used for other things, too (although often tightly linked to a Web app.) This means unless you are a Web developer, you probably wonʼt ever consider using it.
Python started as a generic interpreted language, and as such, is more performant than PHP. You can write a lot of things in Python even if you only use the standard library.
That said, I think Python is easier as you donʼt necessarily need to install extra libraries or software just to try it (not to mention it is included in most Linux distributions so itʼs probably already on your computer/VPS).