During a trip to Afghanistan on Armed Forces Day, David Cameron said it was an opportunity to say "how proud we are of our armed forces and everything they do for us".
He also said funding from Libor rate-rigging fines would be put into military charities and a permanent memorial would be built at the National Memorial Arboretum in Staffordshire.
In terms of the political aims of the country, he said: "We want a political solution as well as making sure we have a security solution.
Mr Cameron added that it was important that the politics "enable everyone in Afghanistan to play a role in the future of their country".
More top news
Craig Johnson, 25, was driving with partner Julie Douglas and their one-year-old daughter Maisie when the rock was hurled at them.
A terminally ill five-year-old boy led out the England team at Wembley with his "best friend" Jermain Defoe.
It comes as the country faces a major migrant crisis with more than 62,000 stranded including outside the port of Piraeus.