Home >Backend Development >PHP Tutorial >centOs installation and building php environment

centOs installation and building php environment

WBOY
WBOYOriginal
2016-07-29 09:00:591097browse
1. First install Apache

yum install httpd httpd-devel

Start the service service httpd start

2. Install php

yum install php php-mysql php-common php-gd php-mbstring php-mcrypt php-devel php-xml

The above introduces the centOs installation and construction of the PHP environment, including aspects of the content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
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