creating  a file for production and local php