The Uttar Pradesh government on Wednesday approved a hike in the prices of petrol and diesel, a state minister said.