<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>部署 - 标签 - 研发日志 · R&amp;D Log</title><link>https://rd163.visword.com/tags/%E9%83%A8%E7%BD%B2/</link><description>部署 - 标签 - 研发日志 · R&amp;D Log</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>whutluohui@gmail.com (小智晖)</managingEditor><webMaster>whutluohui@gmail.com (小智晖)</webMaster><copyright>本作品采用知识共享署名-非商业性使用 4.0 国际许可协议进行许可。</copyright><lastBuildDate>Sun, 12 Jan 2025 00:00:00 +0800</lastBuildDate><atom:link href="https://rd163.visword.com/tags/%E9%83%A8%E7%BD%B2/" rel="self" type="application/rss+xml"/><item><title>Nginx + PHP-FPM 部署与调优</title><link>https://rd163.visword.com/posts/php-nginx/</link><pubDate>Sun, 12 Jan 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/php-nginx/</guid><description><![CDATA[<p>PHP-FPM(FastCGI Process Manager)是 PHP 官方维护的 FastCGI 协议实现，自 <strong>PHP 5.3.3(2010 年 7 月发布)</strong> 起合并进 PHP 核心代码库，在此之前它只是 Andréi Nigmatulin 维护的一个独立补丁。合并后，编译 PHP 时加上 <code>--enable-fpm</code> 即可获得 <code>php-fpm</code> 二进制，SAPI(Server API)名称为 <code>fpm-fcgi</code>。源码位于 PHP 主仓库的 <code>sapi/fpm/</code> 目录，入口文件为 <a href="https://github.com/php/php-src/blob/master/sapi/fpm/fpm/fpm_main.c" target="_blank" rel="noopener noreferrer"><code>sapi/fpm/fpm/fpm_main.c</code></a>。</p>]]></description></item><item><title>PHP + Nginx 部署模式总览</title><link>https://rd163.visword.com/posts/php-nginx-deploy/</link><pubDate>Sun, 12 Jan 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/php-nginx-deploy/</guid><description>&lt;p>在生产环境部署 PHP 应用时，Nginx 与 PHP-FPM(FastCGI Process Manager)的组合是最主流的方案。PHP-FPM 自 PHP 5.3.3 起就已经合并进 PHP 核心代码库(源码位于 &lt;code>sapi/fpm/&lt;/code>),通过 FastCGI 协议与 Web 服务器通信，负责管理 worker 进程池来执行 PHP 脚本。&lt;/p></description></item><item><title>WordPress 安装配置实践</title><link>https://rd163.visword.com/posts/wordpress-setup/</link><pubDate>Sun, 12 Jan 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/wordpress-setup/</guid><description>&lt;p>WordPress 的部署方式相当灵活，既可以一条命令在本地起一个测试站，也可以借助云厂商的应用镜像快速搭建生产站点。本文整理三种实际使用过的安装方式，并对比其适用场景。前置的环境要求（PHP 7.4+/8.x、MySQL 5.5+/MariaDB、Apache 或 Nginx）在《为什么选择 WordPress》一文中已有说明，这里不再赘述。&lt;/p></description></item><item><title>集成前端 UI 与 API Server 的最佳实践</title><link>https://rd163.visword.com/posts/integrate-frontend-and-api/</link><pubDate>Sun, 12 Jan 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/integrate-frontend-and-api/</guid><description>&lt;p>前端 UI 与 API Server 如何「拼到一起」是每个全栈项目迟早要回答的问题。即便前后端在开发期完全独立，真正上线时也要决定：浏览器从哪里取静态资源、跨域请求如何收敛、单域还是子域、静态文件由谁托管。本文按「集成形态」为主线，梳理几种主流方案及其背后的取舍，并附上开源项目作为参考实现。&lt;/p></description></item></channel></rss>