昨天升级了最新的 Debian 10 稳定版,结果 php-fpm 无法启动,报如下两个错误:

Starting php-fpm /usr/local/php/sbin/php-fpm: /usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by /usr/local/php/sbin/php-fpm)
Starting php-fpm /usr/local/php/sbin/php-fpm: error while loading shared libraries: libicui18n.so.57: cannot open shared object file: No such file or directory

解决办法是安装两个lib:

apt install libcurl3 libicu57