Microsoft Azure Open Source Development Support Team Blog

Support for Open Source Technologies on Microsoft Azure App Service

How to disable php wincache extension from php.ini on Azure

To disable a PHP extension, such as wincache.dll, you will need to modify php.ini, here are the steps how to do it: (Reference https://github.com/projectkudu/kudu/wiki/Xdt-transform-samples#using-a-custom-phpini ) 1. Create “applicationhost.xdt” file at “d:\home\site”, 2. Copy the content to applicationhost.xdt (see from the above link) <?xml version=“1.0“?> <configuration xmlns:xdt=“http://schemas.microsoft.com/XML-Document-Transform“>   <system.webServer>     <fastCgi>      <application fullPath=“D:\Program Files (x86)\PHP\v5.x\php-cgi.exe“ xdt:Locator=“Match(fullPath)“>        <environmentVariables>         … Read more