Under the assumption of stock price and interest rate obeying the stochastic differential equation driven by fractional Brownian motion, we establish the mathematical model for the financial market in fractional Brownian motion setting. Using the risk hedge technique, fractional stochastic analysis and PDE method, we obtain the general pricing formula for the European option with fractional stochastic interest rate. By choosing suitable Hurst index, we can calibrate the pricing model, so that the price can be used as the actual price of option and control the risk management