Answers.Body: <p>Sorry if this is bad practice answering my own question in part, but I've actually just discovered how to add timezone support in the MySQL (flexible) DB attached to the Web App.</p>
  <p>The necessary tables are provided during initial DB creation, they are just not populated. They can be filled, however, by executing a provided stored procedure. Just log in to the the DB, and:</p>
  <pre><code>  use mysql;
    call az_load_timezone();
  </code></pre>
  <p>This populates the tables in the mysql schema and satisfies the prerequisit in Craft.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-08-06T11:41:26.337Z
Answers.LastActivityDate: 2024-08-06T11:43:04.720Z
Answers.LastEditDate: 2024-08-06T11:43:04.720Z
Answers.UserDisplayName: Andy
Body: <p>I have a client who is requiring me to move a production site into his Azure environment, and rather than just making a VM available to me, he's provided me with a Web App with a PHP runtime. I'm not a fan of that particular flavor of cloud nor that specific service, but the choices are not mine to make.</p>
  <p>If anybody here has experience deploying Craft (ideally v4) in such an environment, I'd very much like to connect and discuss best practices. I'd like to avoid using the native deployment tools, because I simply don't like the stack and prefer running composer and the craft executable from the CLI to deploy changes I've made in dev and pushed to version control. But if that is not possible in this particular evironment, exactly that is the kind of thing I'd like to learn in such an exchange.</p>
  <p>Two very specific questions I have, though, are:</p>
  <ol>
  <li>How can the requirement for &quot;Full timezone support&quot; be met, when there is no admin level access to the mysql database?</li>
  <li>How are composer and craft commands being issued in an environment where ALL files are owned by nobody:nogroup and the only login account available is root?</li>
  </ol>
  <p>Best,
  Andy</p>
  
Tags: <database><php><craft4>
Title: Looking for best practices deploying to Azure Web App
ThreadText: # Looking for best practices deploying to Azure Web App
  
  (Asked by: username_0 on 2024-08-06)
  
  I have a client who is requiring me to move a production site into his Azure environment, and rather than just making a VM available to me, he's provided me with a Web App with a PHP runtime. I'm not a fan of that particular flavor of cloud nor that specific service, but the choices are not mine to make.
  
  If anybody here has experience deploying Craft (ideally v4) in such an environment, I'd very much like to connect and discuss best practices. I'd like to avoid using the native deployment tools, because I simply don't like the stack and prefer running composer and the craft executable from the CLI to deploy changes I've made in dev and pushed to version control. But if that is not possible in this particular evironment, exactly that is the kind of thing I'd like to learn in such an exchange.
  
  Two very specific questions I have, though, are:
  
  1. How can the requirement for "Full timezone support" be met, when there is no admin level access to the mysql database?
  2. How are composer and craft commands being issued in an environment where ALL files are owned by nobody:nogroup and the only login account available is root?
  
  Best,
  username_0
  
  **Tags:** database, php, craft4
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2024-08-06. Score: 1
  
  Sorry if this is bad practice answering my own question in part, but I've actually just discovered how to add timezone support in the MySQL (flexible) DB attached to the Web App.
  
  The necessary tables are provided during initial DB creation, they are just not populated. They can be filled, however, by executing a provided stored procedure. Just log in to the the DB, and:
  
  ```
    use mysql;
    call az_load_timezone();
  
  ```
  
  This populates the tables in the mysql schema and satisfies the prerequisit in Craft.
  
  
  ---
  
  