<Tr> <Th> Box office </Th> <Td> $939.9 million </Td> </Tr> <P> Harry Potter and the Order of the Phoenix is a 2007 fantasy film directed by David Yates and distributed by Warner Bros. Pictures . It is based on the 2003 novel of the same name by J.K. Rowling . The fifth installment in the Harry Potter film series, it was written by Michael Goldenberg (making this the only film in the series not to be scripted by Steve Kloves) and produced by David Heyman and David Barron . The story follows Harry Potter's fifth year at Hogwarts as the Ministry of Magic is in denial of Lord Voldemort's return . </P> <P> The film stars Daniel Radcliffe as Harry Potter, alongside Rupert Grint and Emma Watson as Harry's best friends Ron Weasley and Hermione Granger . It is the sequel to Harry Potter and the Goblet of Fire and is followed by Harry Potter and the Half - Blood Prince . </P> <P> Live - action filming took place in England and Scotland for exterior locations and Leavesden Film Studios in Watford for interior locations from February to November 2006, with a one - month break in June . Post-production on the film continued for several months afterwards to add in visual effects . The film's budget was reportedly between £ 75 and 100 million ($150--200 million). Warner Bros. released the film in the United Kingdom on 12 July 2007 and in North America on 11 July, both in conventional and IMAX theatres; it is the first Potter film to be released in IMAX 3D . </P>

Harry potter movie after order of the phoenix