Year-on-year inflation rose to 4.9 percent in July from 4.7 percent in June. Food, rents and higher prices for holiday accommodation were the main cause of the rise, though there were some notable falls.