In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "how to solve the problem of php5.4 system upgrade error". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to solve the problem of php5.4 system upgrade error".
Php5.4 system upgrade error solutions: 1, install libmcrypt,libmcrypt-devel;2, upgrade EPEL source; 3, re-upgrade.
This article operating environment: CentOS7.3 system, php5.4 version, Dell G3 computer.
How to solve the problem of errors in php5.4 system upgrade?
CentOS7 PHP5.4 upgrade PHP5.6 lack of libmcrypt problem solution
The system is CentOS7.3. After installing PHP, the version is 5.4. an error occurred when upgrading 5.6: error reporting missing libmcrypt.so.4 () (64bit) library
Libmcrypt,libmcrypt-devel needs to be installed:
Yum install libmcrypt libmcrypt-devel
Enter the above instructions directly, error! The problem is that the EPEL source is not updated to the latest version.
The EPEL source needs to be upgraded:
Command: yum-y install epel-release
Yum-y install epel-releaseLoaded plugins: fastestmirror LangpacksLoading mirror speeds from cached hostfile * base: 100.125.0.40 * extras: 100.125.0.40 * updates: 100.125.0.40 * webtatic: us-east.repo.webtatic.comResolving Dependencies-- > Running transaction check--- > Package epel-release.noarch 0:7-9 will be updated--- > Package epel-release.noarch 0:7-11 will be an update-- > Finished Dependency ResolutionDependencies Resolved= Package Arch Version Repository Size=Updating: epel-release noarch 7-11 extras 15 kTransaction Summary=Upgrade 1 PackageTotal download size: 15 kDownloading packages:Delta RPMs disabled because / usr/bin/applydeltarpm not installed.epel-release-7-11.noarch.rpm | 15 kB 00:00:00Running transaction checkRunning transaction testTransaction test succeededRunning transaction Updating: epel-release-7-11.noarch 1 9.noarch 2 Cleanup: epel-release-7-9.noarch 2 Verifying: epel-release-7-11.noarch Verifying: epel-release-7-9.noarch 2/2Updated: epel-release.noarch 0:7-11Complete!
Upgrade from 7-9 to 7-11
The latest EPEL is 7-12, so type the above instruction again:
Yum-y install epel-releaseLoaded plugins: fastestmirror Langpacksepel/x86_64/metalink | 8.6kB 00:00:00epel | 5.4kB 00:00:00 (1hammer3): epel/x86_64/updateinfo | | 1 MB 00:00:00 (2 MB 3): epel/x86_64/group_gz | 90 kB 00:00:01 (3 stroke 3): epel/x86_64/primary_db | 6.9 MB 00:01 | : 00Loading mirror speeds from cached hostfile * base: 100.125.0.40 * epel: mirrors.aliyun.com * extras: 100.125.0.40 * updates: 100.125.0.40 * webtatic: uk.repo.webtatic.comResolving Dependencies-- > Running transaction check--- > Package epel-release.noarch 0:7-11 will be updated--- > Package epel-release.noarch 0:7-12 will be an update-- > Finished Dependency ResolutionDependencies Resolved= Package Arch Version Repository Size=Updating: epel-release noarch 7-12 epel 15 kTransaction Summary=Upgrade 1 PackageTotal download size: 15 kDownloading packages:Delta RPMs disabled because / usr/bin/applydeltarpm not installed.epel-release-7-12.noarch.rpm | | 15 kB 00:00:00Running transaction checkRunning transaction testTransaction test succeededRunning transaction Updating: epel-release-7-12.noarch 1 Cleanup: epel-release-7-11.noarch 2 Verifying: epel-release- | 7-12.noarch 1bat 2 Verifying: epel-release-7-11.noarch 2/2Updated: epel-release.noarch 0:7-12
Complete upgrade 7-12.
Install again
Libmcrypt,libmcrypt-devel:
Yum install libmcrypt libmcrypt-devel
Yum install libmcrypt libmcrypt-develLoaded plugins: fastestmirror LangpacksLoading mirror speeds from cached hostfile * base: 100.125.0.40 * epel: my.mirrors.thegigabit.com * extras: 100.125.0.40 * updates: 100.125.0.40 * webtatic: uk.repo.webtatic.comResolving Dependencies-- > Running transaction check--- > Package libmcrypt.x86_64 0my.mirrors.thegigabit.com 2.5.8-13.el7 will be installed--- > Package libmcrypt-devel.x86_64 0my.mirrors.thegigabit.com 2.5.8-13.el7 will be installed-- > Finished Dependency ResolutionDependencies Resolved= Package Arch Version Repository Size=Installing: libmcrypt x86 * 64 2.5.8-13.el7 epel 99 k libmcrypt-devel x86 * 64 2.5.8-13.el7 Epel 13 kTransaction Summary=Install 2 PackagesTotal download size: 112 kInstalled size: 302 kIs this ok [y/d/N]: yDownloading packages: (1 kB 2): libmcrypt-2.5.8-13.el7.x86_64.rpm | 99 kB 00:00:00 (2 kB 2): libmcrypt-devel-2.5.8-13.el7.x86_64.rpm | | 13 kB 00VOG 00VOUR 00-| -Total 1.2 MB/s | 112 kB 00:00:00Running transaction checkRunning transaction testTransaction test succeededRunning transaction Installing: libmcrypt-2.5.8-13.el7.x86_64 1 13.el7.x86_64 2 Installing: libmcrypt-devel-2.5.8-13.el7.x86 _ 64 2 Verifying: libmcrypt-devel-2.5.8-13.el7.x86_64 1 Verifying 2 Verifying: libmcrypt-2.5.8-13.el7.x86_64 2/2Installed: libmcrypt.x86_64 0vl 2.5.8-13.el7 libmcrypt-devel.x86_64 0vir 2.5.8-13.el7Complete!
Success!
Finally, upgrade PHP with the following instructions:
Yum install-y php56w php56w-opcache php56w-xml php56w-mcrypt php56w-gd php56w-devel php56w-mysql php56w-intl php56w-mbstring thank you for reading, the above is the content of "how to solve the problem of php5.4 system upgrade error". After the study of this article, I believe you have a deeper understanding of how to solve the problem of php5.4 system upgrade error, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.