For PPL you need at least 45 hours 
In accordance with FCL.210.A(a)  applicants for a private pilot license - PPL(A) shall have completed at least 45 hours of flight instruction in aeroplanes or TMGs, 5 of which may have been completed in an FSTD, including at least:
25 hours of dual flight instruction; and
10 hours of supervised solo flight time, including at least
5 hours of solo cross-country flight time with at least 1 cross-country flight of at least 270 km (150 NM), during which full stop landings at 2 aerodromes different from the aerodrome of departure shall be made.