A lighthouse in the middle of a Buddhist temple

According to Admiralty Thailand has 68 lighthouses. It’s not too much regarding the long coastline and many islands.
Thai lighthouses are no beauties, not to compare with well known American or British lighthouse beauties. Keeper houses are unknown. Most of Thai lighthouses are made of concrete, white and about 10-12 m tall. Taller lighthouses are square pyramidal skeletal towers, mostly on islands.
Most interesting Thailand lighthouse I have seen in Songkhla, Southern Thailand. It’s situated at the north end of the temple complex Phra Chedi Luang, the royal pagoda at the top of Tang Kuan Hill and now the symbol of Songkhla City.
The construction of lighthouse was finished 1897 and it seems to be one of the oldest Thailand lighthouses.
It remains unclear, if the caged lamp has any relation to the lighthouse! The information table in front of this lamp describes the historic lighthouse of Pharos and Alexander the Great ( personal information)!