Home > Backend Development > PHP Tutorial > linux - After installing php5.5 using Webtatic's yum source, phpize and pecl cannot be installed anymore

linux - After installing php5.5 using Webtatic's yum source, phpize and pecl cannot be installed anymore

WBOY
Release: 2016-08-29 08:50:52
Original
1374 people have browsed it

I installed php5.5 using the method at http://www.blogjava.net/nkjav..., but when I tried to install phpize later, the following error occurred. How to solve it? This problem has troubled me for a long time and I never knew how to fix it. The default yum sources now are all 5.3, but my project is developed under the yii2.0 framework and must use version 5.4 or above. I have tried the domestic 163 yum source and the same is true. php5.3. Thank you for your guidance!

<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 < 5.5
--> 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>
Copy after login
Copy after login

I have tried to install 5.5 from the Webtatic source first and then switched back to the 163 source to install phpize and found that the above error is still reported. . .

Reply content:

I installed php5.5 using the method at http://www.blogjava.net/nkjav..., but when I tried to install phpize later, the following error occurred. How to solve it? This problem has troubled me for a long time and I never knew how to fix it. The default yum sources now are all 5.3, but my project is developed under the yii2.0 framework and must use version 5.4 or above. I have tried the domestic 163 yum source and the same is true. php5.3. Thank you for your guidance!

<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 < 5.5
--> 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>
Copy after login
Copy after login

I have tried to install 5.5 using the Webtatic source first and then switched back to the 163 source to install phpize and found that the above error is still reported. . .

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template