PHP being rejected from the Server

domanick harper 0 Reputation points
2023-07-03T18:18:05.7466667+00:00

I am encountering an error ("POST sitelink 405 (The resource doesn't support specified Http Verb.)") when trying to connect PHP to my database on the server. My website's URL uses .html extensions, and I have the stack set to PHP. I believe I need to use Path Mapping, but I am having trouble finding the correct documentation for my version of the site, I feel the current site is organized and labeled differently making it a little difficult to follow. Can someone provide guidance on how to resolve this issue and properly configure my setup for connecting PHP with the database? Thanks!

Azure SQL Database
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,205 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,053 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Alberto Morillo 34,451 Reputation points MVP
    2023-07-03T21:36:29.35+00:00

    Please read this tutorial on how to connect to Azure SQL from PHP. On this tutorial found on GitHub see detailed information on configuration needed to connect Azure App to an Azure SQL Database.

    If you are using Azure SQL for MySQL, please see this tutorial instead.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.