Fix problem that user not get environments for phpenv