我使用http://www.blogjava.net/nkjav...这里的方法安装的php5.5,但是后来想安装phpize的时候出现如下错误,如何解决?这问题困扰了我很久,一直不知道该怎么弄,现在默认的yum源都是5.3,但是我项目是yii2.0框架开发的,必须用5.4以上的版本,我试过国内163的yum源也是php5.3。谢谢各位大神指导!
<code>[root@centos ~]# yum install php-devel Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile webtatic: uk.repo.webtatic.com Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package php-devel.x86_64 0:5.3.3-47.el6 will be installed --> Processing Dependency: php(x86-64) = 5.3.3-47.el6 for package: php-devel-5.3.3-47.el6.x86_64 --> Running transaction check ---> Package php.x86_64 0:5.3.3-47.el6 will be installed --> Processing Dependency: php-common(x86-64) = 5.3.3-47.el6 for package: php-5.3.3-47.el6.x86_64 --> Processing Dependency: php-cli(x86-64) = 5.3.3-47.el6 for package: php-5.3.3-47.el6.x86_64 --> Running transaction check ---> Package php-cli.x86_64 0:5.3.3-47.el6 will be installed ---> Package php-common.x86_64 0:5.3.3-47.el6 will be installed --> Processing Conflict: php55w-common-5.5.38-1.w6.x86_64 conflicts php-common Finished Dependency Resolution Error: php55w-common conflicts with php-common-5.3.3-47.el6.x86_64 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest </code>
我已尝试过先用Webtatic源安装5.5然后再换回163的源安装phpize发现还是报上面的错误。。。
我使用http://www.blogjava.net/nkjav...这里的方法安装的php5.5,但是后来想安装phpize的时候出现如下错误,如何解决?这问题困扰了我很久,一直不知道该怎么弄,现在默认的yum源都是5.3,但是我项目是yii2.0框架开发的,必须用5.4以上的版本,我试过国内163的yum源也是php5.3。谢谢各位大神指导!
<code>[root@centos ~]# yum install php-devel Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile webtatic: uk.repo.webtatic.com Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package php-devel.x86_64 0:5.3.3-47.el6 will be installed --> Processing Dependency: php(x86-64) = 5.3.3-47.el6 for package: php-devel-5.3.3-47.el6.x86_64 --> Running transaction check ---> Package php.x86_64 0:5.3.3-47.el6 will be installed --> Processing Dependency: php-common(x86-64) = 5.3.3-47.el6 for package: php-5.3.3-47.el6.x86_64 --> Processing Dependency: php-cli(x86-64) = 5.3.3-47.el6 for package: php-5.3.3-47.el6.x86_64 --> Running transaction check ---> Package php-cli.x86_64 0:5.3.3-47.el6 will be installed ---> Package php-common.x86_64 0:5.3.3-47.el6 will be installed --> Processing Conflict: php55w-common-5.5.38-1.w6.x86_64 conflicts php-common Finished Dependency Resolution Error: php55w-common conflicts with php-common-5.3.3-47.el6.x86_64 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest </code>
我已尝试过先用Webtatic源安装5.5然后再换回163的源安装phpize发现还是报上面的错误。。。