Thailand and Cambodia have signed a ceasefire agreement to end weeks of intense fighting along their shared border, which has killed more than 100 people and displaced over half a million civilians in both countries, Al Jazeera reported.