Hello @Diego Escobar
App Service upgrades the underlying PHP runtime of your application as part of the regular platform updates. As a result of this regular update process, your application will be automatically updated to the latest patch version of PHP available in the platform..
"Once a version of PHP has reached it's end of extended support your application will be upgraded to the next recommended supported minor version.
Please read this Github repo for more details.
Briefly, you cannot upgrade minor version by yourself as upgrade process is completely managed by Azure.
If you want to use the exact PHP version in App Service please take a look into Azure Web App Custom Docker image where you can set the exact version of PHP in Docker image.
If you think your question has been answered, click "Mark as Accept Answer" if just helped click "Vote as helpful". This can be beneficial to other community members reading this forum thread.