By field along the axis of a solenoid
$B=\mu_{0}\, n i$
where $B=$ magnetic field
$\mu_{0}=$ permeability of free space
$n=$ the number of turns per unit length
$i=$ current
So, according to the formula,
The magnitude of the magnetic field inside a long solenoid is increased by introducing a medium of higher permeability.