Azure Linux app service php 7,4 availability

Björn Hasselberg 66 Reputation points
2020-10-23T10:55:14.04+00:00

Got this mail from MS:

Community support for PHP 7.4 is ending on 28 November 2022
You're receiving this email because you are using PHP 7.4 on Windows App Service.
Because PHP 7.4 extended support on Windows will end on 28 November 2022, any applications hosted on Azure App Service that are still using it will be unsupported after 28 November 2022.

  1. We do not have any windows app services running PHP
  2. We do have numerous linux app services running PHP and are waiting for PHP 7.4

This mail makes me wonder if Azure is the platform to be in when using linux based php app service environments? Will 7.4 of PHP ever be released on it?

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

4 answers

Sort by: Most helpful
  1. brtrach-MSFT 15,171 Reputation points Microsoft Employee
    2020-10-23T12:58:31.313+00:00

    @Björn Hasselberg Azure Linux App Service PHP 7.4 is deployed to roughly half the datacenters as of yesterday. It's actively rolling out to the other datacenters as we speak.

    Is there a specific data center or two that you're using? If so, please let me know and I can confirm if it's available as of today for you. Otherwise we should be just a few days away from completion if there are no issues encountered.

    0 comments No comments

  2. Björn Hasselberg 66 Reputation points
    2020-12-08T21:44:07.767+00:00

    Hi,

    I see that 7.4 is now available on my app services. Unfortunatley installing redis using pecl that I need is not working on 7.4, so I am still stuck at 7.3.

    More exactly, this does not work in 7.4: https://azureossd.github.io/2019/01/29/azure-app-service-linux-adding-php-extensions/

    Extract from stdout:

    running: make
    /bin/bash /tmp/pear/temp/pear-build-root9dDnEO/redis-5.3.2/libtool --mode=compile cc -I. -I/tmp/pear/temp/redis -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root9dDnEO/redis-5.3.2/include -I/tmp/pe
    ar/temp/pear-build-root9dDnEO/redis-5.3.2/main -I/tmp/pear/temp/redis -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/loca
    l/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/php/ext -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/redis/redis.c -o redis.lo
    cc -I. -I/tmp/pear/temp/redis -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root9dDnEO/redis-5.3.2/include -I/tmp/pear/temp/pear-build-root9dDnEO/redis-5.3.2/main -I/tmp/pear/temp/redis -I/usr/local
    /include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/php/e
    xt -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/redis/redis.c -fPIC -DPIC -o .libs/redis.o
    /tmp/pear/temp/redis/redis.c:22:10: fatal error: config.h: No such file or directory

    include "config.h"

          ^~~~~~~~~~
    

    compilation terminated.
    make: *** [Makefile:192: redis.lo] Error 1


    KR,
    Bjørn Hasselberg

    0 comments No comments

  3. Björn Hasselberg 66 Reputation points
    2020-12-28T09:24:51.817+00:00

    Hi, still not possible to build redis.so under 7.4 using "pecl install"... is this going to be fixed?

    0 comments No comments

  4. Mark Brennand 1 Reputation point
    2021-03-28T23:56:20.01+00:00

    Any update on this issue? Is there a different way to compile extensions under 7.4?

    0 comments No comments