I'm working for an Azure project where the deployments can only be made using the ARM templates from Visual Studio CI and we have only read access to the Azure Portal.
Also I'm not use if I'm able to use Kudu as I can't access from Portal.
What I'm trying to do is overriding some PHP settings and enable some extra extensions for an Azure Web App. Using Kudu this is pretty easy but I can't figure out how I can upload two excluded file types .dlland .ini files during a release before web app deployment.
So far I tried below steps which made sense to me but apparently It's not working and a wrong approach. I would be glad if someone could guide me with the right steps.
I have set PHP_INI_SCAN_DIR=d:\home\site\ini as described in https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-php-configure
I'm uploading the files with the below tasks and can see them uploaded in logs. I also tried to use paths with defined variables such as $(Agent.ReleaseDirectory) instead of absolute paths but it didn't change anything.
It seems PHP is looking d:\home\site\ini folder but can't find any ini file. Also the other options I have set, did not changed.
The content of the ini file;
; extensions.ini
; Enable Extensions
extension=d:\home\site\ext\php_redis.dll
; Settings
memory_limit = 256M
upload_max_filesize = 10M
UPDATE
Also the App Service deploy task,
And Virtual applications and directories from Application Settings







extension_dirvalue? - "In what directory PHP should look for dynamically loadable extensions. See also: enable_dl, and dl(). " Not to be confused with php_ini_scan_dir. - ficuscr