In the third place play-off, if the scores remained level after 90 minutes the match would go directly to a penalty shoot-out, without any extra time being played.
They increased the lead seven minutes later, when after they intercepted a DR Congo pass out of the defence, Thievy Bifouma scored from the rebound after Doré's shot was saved.
Equatorial Guinea scored the equalizer in the third minute of injury time through Javier Balboa's penalty, which was awarded after Hamza Mathlouthi was ruled to have fouled Iván Bolado.
The match went to extra time, and Balboa scored the winning goal in the 102nd minute with a direct free kick, sending the hosts to their first ever semi-finals.
[6] Man of the Match: Javier Balboa (Equatorial Guinea)[7] Assistant referees: Peter Edibe (Nigeria) Jerson dos Santos (Angola) Fourth official: Koman Coulibaly (Mali) Ghana took the lead in the 4th minute, after André Ayew back-heeled the ball for Christian Atsu to convert from close range.
[8][9] Man of the Match: Kwesi Appiah (Ghana)[10] Assistant referees: Evarist Menkouande (Cameroon) Ali Waleed Ahmed (Sudan) Fourth official: Hamada Nampiandraza (Madagascar) Ivory Coast took the lead in the 26th minute, when Wilfried Bony headed in Max Gradel's cross.
[14][15] Man of the Match: Gervinho (Ivory Coast)[16] Assistant referees: Evarist Menkouande (Cameroon) Zakhele Siwela (South Africa) Fourth official: Bernard Camille (Seychelles) Ghana took the lead in the 42nd minute through Jordan Ayew's penalty, awarded after Kwesi Appiah was fouled by Felipe Ovono.
In the first minute of first half injury time, Mubarak Wakaso finished Christian Atsu's pass in a counter-attack to double Ghana's lead.
[25][26] Man of the Match: Afriyie Acquah (Ghana)[27] Assistant referees: Djibril Camara (Senegal) Ali Waleed Ahmed (Sudan) Fourth official: Jacob Bolam (Zambia)