标签:
service php-fpm start
Starting php-fpm /alidata/server/php/sbin/php-fpm: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory
出现这样的的错误
1、先找libiconv.so.2 在哪里
locate libiconv.so.2
找到了/root/sh/aliyun/libiconv-1.13.1/lib/.libs/libiconv.so.2
2、复制libiconv.so.2放到/usr/local/lib下就可以了
cp /root/sh/aliyun/libiconv-1.13.1/lib/.libs/libiconv.so.2 /usr/local/lib/libiconv.so.2
标签:
原文地址:http://www.cnblogs.com/terryguan/p/4676531.html