官术网_书友最值得收藏!

Getting ready

To compile PHP code and run it via NGINX, the preferred method is via PHP-FPM, a high-speed FastCGI Process Manager. We'll also need to install PHP itself and, for the sake of simplicity, we'll stick with the OS-supplied version. Those seeking the highest possible performance should ensure they're running PHP 7 (released December 3, 2015), which can offer a 2-3 times speed improvement for WordPress, while at the same time being up to four times more memory efficient compared to PHP 5.6.

To install PHP-FPM, you should run the following on a Debian/Ubuntu system:

apt-get install php7.0-fpm

For those running CentOS/RHEL, you should run the following:

sudo yum install php-fpm 

As PHP itself is a prerequisite for the php-fpm packages, it will also be installed.

Note: Other packages such as MySQL will be required if you're intending to run this on a single VPS instance. Consult the WordPress documentation for a full list of requirements.
主站蜘蛛池模板: 抚顺县| 和田市| 鲁甸县| 陇西县| 宣威市| 和林格尔县| 鄂托克前旗| 南靖县| 株洲市| 永吉县| 琼中| 安顺市| 墨玉县| 乃东县| 五华县| 盘锦市| 广德县| 皮山县| 江都市| 开原市| 黄龙县| 清苑县| 启东市| 新营市| 民乐县| 宿松县| 茌平县| 东山县| 淳化县| 明光市| 嘉祥县| 澄江县| 河南省| 新化县| 安达市| 靖边县| 同心县| 伊春市| 宜阳县| 罗平县| 崇义县|