How to install php5.2 on centos yum
How to install php5.2 on centos yum: first add the source; then install php through the command "yum install php php-mysql php-xml php-gd php-mbstring php-cli".
Recommendation: "PHP Video Tutorial"
Install php5.2.17 using yum command in CentOS 6.4
When I recently deployed a server to a company, I found that the server they provided was centos6.4 system. After installing the system and related services httpd, mysql, and php, I ran the code and found zend in php5.3. Encryption cannot be used. After installing Zend Guard Loader, it still cannot be used. Only then did I find that the program only supports Zend Optimizer decryption. So I had to look for the version of php5.2. Quickly search online to see if there is any yum installation of php5.2.
I really found it. I had to modify the yum source. The method is as follows:
1. Environment
centos6.4 x86_64
2. Add source
wget -q -O - http://www.atomicorp.com/installers/atomic | sh
3. Exclude php5.3 package, we only Requires php5.2.17
vim /etc/yum.conf
Add this line: exclude=*5.3.*
4. Installation
yum install php php-mysql php-xml php-gd php-mbstring php-cli
Done!
(Note: I installed according to this method and installed it as php5.4. Fortunately, the original directory read and write permission error was solved)
The above is the detailed content of How to install php5.2 on centos yum. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Because C++11 needs to be used, but the gcc4.4.7 that comes with CentOS does not support it, I decided to upgrade gcc. The operation is as follows: #Backup mv/etc/yum.repos.d/devtools-2.repo/etc/yum.repos.d/devtools-2.repo.bakwgethttp://people.centos.org/tru/devtools-2 /devtools-2.repo-O/etc/yum.repos.d/devtools-2.repoyuminstalldevtoolset-2-gccdevtoolse

1. Download the gitlab installation package. Download the latest Chinese version of the gitlab installation package from [Tsinghua University Open Source Software Mirror Station]. The installation package comes with a simplified Chinese localization package. Download the latest gitlab installation package from [gitlab official website]. 2. Install gitlab, take gitlab-ce-14.9.4-ce.0.el7.x86_64 as an example, upload it to the centos server and use yum to install gitlabyum-yinstallgitlab-ce-14.3.2-ce.0.el7.x86_64. rpm uses yum to install gityum-yinstallgit#Install git and modify the gitlab configuration file vi

Generally speaking, famous Linux systems are basically divided into two categories: RedHat series: Redhat, Centos, Fedora, etc.; Debian series: Debian, Ubuntu, etc. yum (YellowdogUpdater, Modified) is a Shell front-end package manager in Fedora, RedHat and SUSE. apt (AdvancedPackagingTool) is a shell front-end package manager in Debian and Ubuntu. Overview Generally speaking, the famous Linux systems are basically divided into two categories: RedHat series: Redhat, Cento

In Linux, yum is a software package manager that exists specifically to solve package dependencies; yum is an improved RPM software manager, which solves the package dependency problems faced by RPM. When the administrator uses yum to install an RPM package, yum will first download the dependency file of the package from the server side, and then download and install all related RPM packages from the server side at once by analyzing this file.

How to delete php in centos7 yum: 1. Check the PHP version through "php -v"; 2. Use "rpm -qa|grep php" to check the installed PHP related extensions; 3. Uninstall php by executing the "yum remove php" command That’s it.

How to install php using yum on Linux: 1. Execute the "mkdir /usr/local/php" command; 2. Download the updated installation package of the yum source; 3. Install the relevant yum source installation package; 4. Install through the "yum install" command php is enough.

Everyone may be familiar with yum in Linux systems, but beginners may not know it. This article will introduce what yum is and its functions. Please read on. In Linux, yum is a package manager used to manage and install software packages. It is the abbreviation of YellowdogUpdater, Modified. It was originally designed for the RedHat series of distributions, but is now also used by many other RPM-based Linux distributions. The main functions of the YUM command include: YUM is a software package management tool that can be used to find, install, update and uninstall software packages. Through the YUM command, users can easily manage software packages on the system and automatically resolve differences between software packages.

Installing and deploying Docker on CentOS7 is very simple and only requires a few simple steps to complete. Below are the detailed steps and instructions: Updating the System Before installing Docker, you first need to update the CentOS7 operating system. Use the following command to update the system: sudoyumupdate Install the necessary software packages Installing Docker on CentOS7 requires the installation of some necessary software packages, including yum-utils, device-mapper-persistent-data and lvm2. Install these packages using the following command: sudoyuminstall-yyum-utilsdevice-mapper-
