About connecting PS4 to an old TV

I am an Anatolian Turk born and raised in Lyon, France, and I come to my village for 2 months every summer. And I will come again in 1 month. I will bring my PS4 with me when I come. However, the problem is that my grandfather, who lives in Turkey, has a 2008 model LCD Samsung television and it has an HDMI input, but when I connected my Xiaomi phone last year to the cable that turns the HDMI cable into a phone and the HDMI cable, and then connected that cable to the television, it did not work. I did not try to connect the computer to the TV with an HDMI cable. So what I mean is: Can my PS4 be connected to a 2008 LCD Samsung TV with 2 HDMI inputs?