In the UK, you can install solar panels on a vertical wall, often without planning permission due to permitted development regulations (with a few exceptions).
Vertical installations are a viable option when you have limited or unsuitable roof space, especially on large, south-facing walls that receive ample sunlight throughout the day.