php webapp hosting not working

Ytowait Pvt Ltd 1 Reputation point
2022-08-29T17:29:15.797+00:00

Dear Team,
we developed our dynamic website in PHP(Code igniter), mysql, later we stopped the website stuff as we want to build mobile apps, started creating api's in php, using the same mySQL db, for the mobile app we used flutter. As of now all are located in single VM and app is running fine. Now its time for production and going live.

Tried to go for PASS architecture, created dev env and want to replicate the same here.
I have created a dev env and how to put all this code in to webapp. I am not sure about where to upload what.

Can anyone please help me, trying from last 30 hours.

Flutter - Front end, PHP - For api's, MySQL is for DB unable to host in webapp which i have created.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,798 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Takahito Iwasa 4,841 Reputation points MVP
    2022-08-29T22:09:21.907+00:00

    Hi, @Ytowait Pvt Ltd

    You can create it by referring to the following.

    https://learn.microsoft.com/en-us/azure/app-service/tutorial-php-mysql-app#3---deploy-sample-code

    There are several deployment methods available, but Git Push is the easiest. Alternatively, you can easily upload using an App Service extension such as Visual Studio Code.
    Another option is to create and upload a zip archive, or integrate with an external CI/CD pipeline.
    See below for various deployment options.

    https://learn.microsoft.com/en-us/azure/app-service/deploy-run-package

    It also refers to databases.
    First of all, App Service has Windows and Linux, and Linux is recommended for the latest PHP.
    However, for Windows, you can also host the database in App Service with the feature called MySQL In App.
    However, it is highly likely that it will not be used in the future, so it is better to use Azure Database for MySQL as per the documentation.

    0 comments No comments