working changes and improvements to php configuration and migration deployment