Soak porcini in the wine for 30 min, squeeze porcini dry (reserve wine). Finely chop.
Heat oil and melt 2 tbsp of the butter in a large pot over medium high. Cook onion, garlic & anchovy 2 min, add tomato paste, cook 2 min. Add sliced mushrooms, cook 2 min (to reduce volume a bit) then add chopped mushrooms, porcini, salt, thyme and bay leaves. Cook 8 – 10 min until the liquid that comes out of the mushrooms evaporates.
Add wine, simmer 6 min until reduces – should be able to draw path along base and briefly holds. Stir in flour 30 sec. Add stock, simmer 2 min until it becomes a gravy-like consistency. Keep warm while you cook pasta.
Bring big pot of water to the boil, add the salt and pasta. Cook per packet directions minus 1 min. Scoop out 1 cup of cooking water, then drain. Toss pasta with ragu and 1/4 cup of the pasta cooking water over medium heat, until the pasta is all coated in the ragu sauce. Serve immediately with parmesan.
https://www.hangryrecipes.com/pasta-recipes/mushroom-ragu-pasta-11210/