You asked
Which 35mm or 56mm lens would give me a portrait view under 500 euros?
The guide's catalogue doesn't list prices or lens pages for this question, so it can't say which lens is under 500 euros. Check current prices on the shop links of any lens you consider.
On an APS-C camera, a 35mm lens frames like a normal 50mm view, and a 56mm frames like the 85mm the portrait guide calls the classic portrait lens. The portraits page explains the trade-off. The 35mm suits environmental portraits that show where someone is, and the 56mm gives a more flattering, tighter face with softer backgrounds. Both need a wide aperture, such as f/1.8 or f/1.4, to blur backgrounds well.
If you're using the Pentax K-500, its focal lengths page gives the 1.5 factor, so a 35mm frames like about 52mm and a 56mm like about 85mm. The sensor sizes page explains the same sums for other formats, and the focal length converter does them for any pair. Old manual K lenses fit the K-500 directly, which can be a cheap way to get a portrait focal length.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.