3.cannot open shared object file:翻譯是“無法打開共享對象文件”把libmhash.so.2所在目錄的文件夾名加入/etc/ld.so.conf文件中!libmhash.so.2所在的目錄就是上面的./usr/local/lib/
接著指令
#echo "/usr/local/lib">>/etc/ld.so.conf
# ldconfig
最后在WDCP上重啟下服務,然后再去看看,你可能還會發(fā)現還有問題 libmcrypt.so.4 不存在,報錯是
httpd: Syntax error on line 54 of /www/wdlinux/httpd-2.2.22/conf/httpd.conf: Cannot load /www/wdlinux/httpd-2.2.22/modules/libphp5.so into server: libmcrypt.so.4: cannot open shared object file: No such file or directory