duandian8110 2017-09-27 13:38
浏览 46
已采纳

Azure是否支持运行Laravel 5.5的正确版本的PHP?

I am trying to install Laravel 5.5 on Microsoft Azure. I am using (trying) free App service. The phpinfo() function return PHP Version 5.6.31. I know that Laravel requires PHP 7+.

Any idea how to resolve that? Is it possible to change PHP version - free subscription or it has to be paid subscription?

  • 写回答

1条回答 默认 最新

  • doukun0888 2017-09-28 02:37
    关注

    Any idea how to resolve that? Is it possible to change PHP version

    You could change PHP version easily on Azure Portal.

    enter image description here

    You also could use Azure Cli 2.0 to change it.

    az webapp config set --php-version 7.1 -g shuiapp -n shuiphp
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?