title: PHP in Azure WebJobs on Azure Website
body: <p>I've written a powershell script that basically calls php %WEBROOT%\dir\  and set it to run as as WebJob in Azure - this is on an Azure Website. </p>
  
  <p>The problem I am having is it does not pickup the .user.ini file that is configured (and working) on the Website. I've been playing around with powershell in kudu and am at wits end on how to get this to work.</p>
  
  <p>Is there anyway to launch php in a away that is can append a user.ini file to the standard php.ini file? Otherwise my only solution I can think of so far is to read the entire php.ini in D:\Program Files\xxx, copy it, append to it and execute php with my modified version. This isn't an ideal solution and I'm trying to get around it if possible.</p>
  
  <p>Alternatively, the other way around it is to declare using ini_set() the variables I want to change at run time but the problem with this not all my vars are set - in particularly error_reporting. If someone can help me work out a way to turn off E_STRICT &amp; E_NOTICE it would also solve my problem. I've tried error_reporting(0) and all the different way but it completely ignores them - it works fine with date.timezone, include_path, etc.</p>