Linux Yum upgrade install PHP 5.5

Source: Internet
Author: User
Tags mcrypt

This article from: Http://blog.aboutc.net/linux/50/yum-install-php-on-linux
System environment:
    • CentOS 6.4 x86_64
    • Fedora x86_64

There is already a source of PHP in the Fedora 20 source and can be installed directly using the following command:

Yum Install php-fpm php-common php-devel php-mysqlnd php-mbstring php-mcrypt
Here's how to install PHP under CentOS: Add Epel Source
# RPM-UVH http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Add Remi Source
# RPM-UVH http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
Install PHP
Yum Install php-fpm php-common php-devel php-mysqlnd php-mbstring php-mcrypt
View PHP version
# php-5.5. 9  One  the :   £ 1997-The PHP groupzend Engine v2. 5.0 1998- Zend Technologies
Start PHP-FPM
# service php-fpm startstarting php-fpm:                                          [  OK  ]

Linux Yum upgrade install PHP 5.5

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.