升级Debian 10后php-fpm不能启动的解决办法

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

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

未经允许不得转载:吾爱主机之家 » 升级Debian 10后php-fpm不能启动的解决办法