question

BjrnHasselberg-7167 avatar image
0 Votes"
BjrnHasselberg-7167 asked MarkBrennand-6690 answered

Azure Linux app service php 7,4 availability


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-webapps
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

brtrachMSFT-0711 avatar image
0 Votes"
brtrachMSFT-0711 answered

@BjrnHasselberg-7167 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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

BjrnHasselberg-7167 avatar image
0 Votes"
BjrnHasselberg-7167 answered BjrnHasselberg-7167 published

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

BjrnHasselberg-7167 avatar image
0 Votes"
BjrnHasselberg-7167 answered

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MarkBrennand-6690 avatar image
0 Votes"
MarkBrennand-6690 answered

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.