简体   繁体   中英

Installing Drupal on Azure PaaS with SQL Backend

Trying to install Drupal with SQL Azure backend and getting error below:

来自Drupal的错误

PDO is enabled:

PHPInfo()结果

If I comment out line 124 in database.inc the installation proceeds and I see some tables being created in MS SQL. However, it breaks at some point with:

Cannot convert '0' to int SQL Driver error

Which I assume is caused by not having setting above.

I would recommend you use the template Acquia Drupal 7 on SQL from Azure Marketplace to create Drupal app with Azure SQL.

  1. In Azure Marketplace blade, search for Drupal , and then click Acquia Drupal 7 on SQL .

在此处输入图片说明

  1. Configure Azure App Service Settings for your New Web App.

在此处输入图片说明

  1. When the web app creation is finished, you can launch and manage your Drupal web app in the browser.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM