1.Run the following code in the App Service SSH -
apk add icu-dev && \
docker-php-ext-configure intl && \
docker-php-ext-install intl && \
docker-php-ext-enable intl
2. Now copy the intl.so & docker-php-ext-intl.ini file to persistent storage located under /home -
mkdir /home/intl-ext
cp /usr/local/etc/php/conf.d/docker-php-ext-intl.ini /home/intl-ext/docker-php-ext-intl.ini
cp /usr/local/lib/php/extensions/no-debug-non-zts-20220829/intl.so /home/intl-ext/intl.so
3.Insert the following code into the "/home/dev/startup.sh" file -
apk add icu-dev
cp /home/intl-ext/docker-php-ext-intl.ini /usr/local/etc/php/conf.d/docker-php-ext-intl.ini
cp /home/intl-ext/intl.so /usr/local/lib/php/extensions/no-debug-non-zts-20220829/intl.so
supervisorctl restart php-fpm
4. After completing the previous steps, restart your App Service. Once restarted, navigate to phpinfo.php and verify that the intl extension is successfully installed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.