I have some custom php compiled using the guide. Like I have it installed php 7.0.32 in /opt/php-7.0.32 Now I am facing an issue for example the latest Magneto version doesn't support the default php7.2 and in 7.0.32 "intl" extension is not installed/enabled when compiling. is there a way I can add the same without going to the whole recompile process?
Take the PHP source of that version and go to the "ext/intl" subdirectory. Call "/opt/php-7.0.32/bin/phpize" in there, then Code: ./configure --with-php-config=/opt/php-7.0.32/bin/php-config && make && make install After that you should be able to add "extension=intl.so" to the php.ini.
Hi Croydon, Thanks for your guidance. I went ahead and did what you suggested. the extesnion "intl.so is showing in /opt/php-7.0.32/lib/php/extensions/no-debug-non-zts-20151012/ I have added the extension=intl.so in php.ini but it is not showing any changes in phpifno. anything else I need to do to make that effective?
Are you sure that your web where you testet it uses the php.ini you edited? First try by checking with: /opt/php-7.0.32/bin/php -c /path/to/php.ini -i | grep -i 'intl'