yum install php

不言
Release: 2023-03-25 07:20:01
Original
5133 people have browsed it

This article mainly introduces the installation of php with yum, which has certain reference value. Now I share it with everyone. Friends in need can refer to it

yum installationphp

Installation like this

yum -y install php
Copy after login
Copy after login

After installation like this, there are almost no extensions. For example, if you want to buildwordPress, you need to use the mysql database. PHP at this time cannot meet our needs. Therefore, additional mysql extensions must be installed. Install like this

yum -y php-mysql
Copy after login
Copy after login

After the installation is completed, the.soextension related to operating mysql will be added to the PHP installation directory.

yum installationphp

So install

yum -y install php
Copy after login
Copy after login

After this installation, there are almost no extensions, such as buildingwordPressThe mysql database is used. PHP at this time cannot meet our needs. Therefore, additional mysql extensions must be installed. Install like this

yum -y php-mysql
Copy after login
Copy after login

After the installation is completed, the.soextension related to operating mysql will be added to the PHP installation directory.

Related recommendations:

centos7 YUM Install PHP5.6

Install the php development environment under window

The above is the detailed content of yum install php. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!