Short answer: no European country borders or sits near Ghana. The West African nation lies roughly 3,000 km (1,860 miles) south of Europe across the Mediterranean Sea and the Sahara Desert.
Ghana shares land borders with three African countries:
Its southern coastline runs along the Gulf of Guinea (Atlantic Ocean).
The question sometimes arises from:
Geographically, the nearest European land is the Portuguese archipelago of Madeira (~2,600 km northwest) or the Spanish Canary Islands (~2,800 km north-northwest)—both autonomous regions of EU member states, not mainland Europe.
For context: a flight from Accra to Lisbon takes ~6.5 hours. The distance is comparable to New York–Los Angeles.