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

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.
主站蜘蛛池模板: 繁昌县| 彭山县| 宁国市| 洞口县| 井冈山市| 甘孜| 达日县| 白银市| 金川县| 石渠县| 屯昌县| 静海县| 新竹县| 钦州市| 武乡县| 隆回县| 庆阳市| 瓦房店市| 潜江市| 波密县| 哈尔滨市| 巴中市| 彭阳县| 迁安市| 当涂县| 晋江市| 建宁县| 吴川市| 陆良县| 怀化市| 合江县| 科尔| 平罗县| 自贡市| 大渡口区| 焦作市| 宁国市| 凌海市| 浑源县| 汶川县| 武穴市|