how to install php in ubuntu?

It seems that the only way to do this is to install together an Apache server which is very-very unwanted (in our case).

We just want to utilize the simple built-in web server, as the lucky users of some non-ubuntu OSes (like MS Windows 10) have.