我有一个在Azure上运行的WordPress站点作为App Service。我计划使用部署插槽来设置测试环境。我有一些特定于环境的设置。如果我运行.NET,我会阅读应用程序设置。
PHP可以读取应用程序设置吗?
您可以使用getenv()读取设置
getenv('settingname');