How to install PHP in CentOS ~ Let me explain it.

Source: Internet
Author: User
How to install PHP in CentOS ~~~ I have read the articles written by others, installing PHP in Centos is easy to install through yum # yuminstall-yphp # yuminstall-yphpphp-develphp-mysql, I am not very familiar with installing PHP in CentOS ~~~ Could you help me explain it?
I read articles written by others and installed PHP in Centos
The installation is simple. it is installed through yum.
# Yum install-y php

# Yum install-y php-devel php-mysql

In the second sentence, I don't quite understand. this is an extension for installing php to operate mysql. The younger brother has two problems:

What is php-devel installed?

How can I check whether my Centos has installed php-devel?

A knowledgeable expert can help explain these two problems

------ Solution --------------------
Php-devel php's develop (development) package contains some source code or something, including the function phpize that we may need in the future. you will know the role of this command when installing the extension later.

If yum install php-devel is not installed, it will be installed for you. if a new version is installed, it will be upgraded. if a new version is installed, nothing will be done. of course, there is a prompt

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.