Fix issue with LAMP Environment in Kubernetes

@rahul456 @Inderpreet can you please check this for me?thanks.