AMH安装intl拓展失败
LNMP环境intl已安装但是拓展安装失败
最后一行报错:
configure: error: Package requirements (icu-uc >= 50.1 icu-io icu-i18n) were not met:
No package 'icu-uc' found
No package 'icu-io' found
No package 'icu-i18n' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables ICU_CFLAGS
and ICU_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: * No targets specified and no makefile found. Stop.
make: * No rule to make target `install'. Stop.
mv: cannot stat '/usr/local/php-8.1/lib/php/extensions/no-debug-non-zts-20210902/intl.so': No such file or directory
libicu这个包没安装成功,确认系统软件源是否还可用,centos8、7系统的生命周期已经结束,如果用的以上系统,要更换系统软件源,也可以手动安装:
yum install libicu-devel
debian系的系统,
apt install libicu-dev
做测试看。