linux 安装PHP和couchbase出…

1.安装PHP的依赖问题:
[root @TEST ~]# rpm -ivh php5-5.4.6-1.x86_64.rpm 
error: Failed dependencies:
libjpeg.so.62()(64bit) is needed by php5-5.4.6-1.x86_64
liblber-2.3.so.0()(64bit) is needed by php5-5.4.6-1.x86_64
libldap-2.3.so.0()(64bit) is needed by php5-5.4.6-1.x86_64
libpng12.so.0()(64bit) is needed by php5-5.4.6-1.x86_64
libpng12.so.0(PNG12_0)(64bit) is needed by php5-5.4.6-1.x86_64
 
解决方法:
①libjpeg.so.62()(64bit) 
需要安装 libjpeg-6b-46.el6.x86_64.rpm
②liblber-2.3.so.0()(64bit) 和 libldap-2.3.so.0()(64bit)  
需要安装 openldap-2.4.23-26.el6.x86_64.rpm 和 compat-openldap-2.3.43-2.el6.x86_64.rpm
③libpng12.so.0()(64bit) 和 libpng12.so.0(PNG12_0)(64bit)
需要安装 libpng-1.2.49-1.el6_2.x86_64.rpm
 
2.安装couchbase依赖问题
[root @TEST ~]#rpm -ivh couchbase-server-enterprise_x86_64_2.0.0.rpm
error: Failed dependencies:
    libcrypto.so.6()(64bit) is needed by couchbase-server-2.0.0-1976.x86_64
    libssl.so.6()(64bit) is needed by couchbase-server-2.0.0-1976.x86_64
解决方法:
安装 openssl098e-0.9.8e-17.el6.centos.2.x86_64.rpm
 
注: 在这个网站搜索的地方输入需要的文件名字,如libgd.so,则搜索结果中就会显示需要安装哪个软件包才具有这个文件。 http://rpmfind.net/linux/RPM/index.html

 

你可能感兴趣的:(linux 安装PHP和couchbase出…)