Original: https://typecodes.com/web/centos7compilephp7.html?utm_source=tuicool&utm_medium=referral 1 create PHP users and user groups, and download PHP7 source on GitHubFirst create a user named PHP 没有登录权限 and a user group named PHP, and then go to
Let's take a look at the PHP 7 official version of the algorithm and the performance of WordPress application on it.
PHP7 installation, really very backward-compatible, download, decompression, the previous configuration command used, all the way
Create PHP users and user groups
Start by creating a user named PHP with no login rights and a user group named PHP
###### #新建php用户和php组 [root@localhost ~]# groupadd-r php && useradd-r-G php-s/bin/false-d/usr/local/php7-m ph P
Compile the
Environment description
CentOS 7 x64 4-core 2G memory built in VMware 12
The http://blog.csdn.net/u014595668/article/details/50166277 installed MySQL5.7.9 is already installed in the environment
Tools downloadCompilation
Start
Before the server built a lamp environment, want to change the performance of more powerful Nginx as server software, but also want to upgrade PHP5 to PHP7.
Install nginx do not need to repeat: sudo apt-get install Nginx, start ng before you
Install php7 + php5 in nginx and php7php5 in nginx
Start
Previously, I set up a lamp environment on the server. I want to use nginx with higher performance as the server software and upgrade php5 to php7.
To install nginx, do not go into details:
1. Prepare the PHP installation environment1.1. Completely uninstall the old version of PHPRpm-qa |grepphprpm-E php-fpm-5.3.3- A. el6.x86_64rpm-E php-pdo-5.3.3- A. el6.x86_64rpm-E php-pear-1.9.4-4. el6.noarchrpm-E php-cli-5.3.3- A. el6.x86_64rpm-E
This article mainly describes how to use Nginx and php7-fpm to install Nextcloud in CentOS7, will run Nextcloud through Nginx and PHP7-FPM, while using MariaDB as a database system.
Nextcloud is a free (open source) class Dropbox software that
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.