Steps to upgrade PHP5.3 to PHP5.4 in CentOS

Source: Internet
Author: User

Steps to upgrade PHP5.3 to PHP5.4 in CentOS

When zabbix3.0.3 is configured, because the environment php installed in yum is version 5.3, and the latest version of zabbix requires the version to be later than version 5.4. at this time, we need to upgrade the existing php.

Consequences of not upgrading:

When zabbix is opened in the browser, there are all Mao !!!!!!

1. Set the yum Source

  1. Wgethttp: // dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

  2. Rpm-ivhepel-release-6-8.noarch.rpm

  3. Wgethttp: // rpms.famillecollet.com/performanise/remi-release-6.rpm

  4. Rpm-ivhremi-release-6.rpm

2. yum claean all

3. yum update php *

Faults and solutions:

1. If the baseurl In the yum source contains the # sign, we need to edit it in vim to remove #

2. Check whether enable is 1. If not 1, change it to 1.

3. Error: Cannotretrievemetalinkforrepository: epel. Pleaseverifyitspathandtryagain

Execute Step 1 and add #

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.