# quickstart-nginx **Repository Path**: jingjingxyk/quickstart-nginx ## Basic Information - **Project Name**: quickstart-nginx - **Description**: macos 、linux. 快速使用免编译的的nginx - **Primary Language**: Shell - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2024-06-07 - **Last Updated**: 2025-06-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # nginx php-fpm 免安装 ## nginx php-fpm 免安装原理 1. nginx 静态编译 2. php-fpm 静态编译 ## 克隆本项目 ```shell git clone -b main https://gitee.com/jingjingxyk/quickstart-nginx.git ``` ## 运行 nginx php-fpm > 运行之前 > 修改[nginx web root 目录配置](https://gitee.com/jingjingxyk/quickstart-nginx/blob/main/nginx.conf#L44) ```shell # 下载 nginx php-fpm 运行时 bash setup-nginx-runtime.sh bash setup-php-fpm-runtime.sh # 启动 nginx php-fpm bash start.sh # 重新载入配置 bash reload.sh # 停止 bash stop.sh ``` ## 将本项目作为项目的子模块 ```shell git submodule add -b main https://gitee.com/jingjingxyk/quickstart-nginx.git quickstart-nginx ``` ### 删除子模块 ```bash git submodule deinit -f deploy rm -rf .git/modules/deploy git rm -rf deploy git restore --staged .gitmodules ``` ## 参考文档 1. [ php nginx 配置 ](https://www.php.net/manual/zh/install.unix.nginx.php ) 1. [ symfony web server configurationg for nginx ](https://symfony.com/doc/current/setup/web_server_configuration.html#nginx) 1. [ laravel web server configurationg for nginx ](https://laravel.com/docs/master/deployment#nginx) 1. [ wordpress web server configurationg for nginx](https://developer.wordpress.org/advanced-administration/server/web-server/nginx/) 1. [ nextcloud web server configurationg for nginx](https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html) 1. [使用nginx部署网站](https://cloud.tencent.com/developer/article/1532739) 1. [ nginx 伪静态配置参考](https://www.jianshu.com/p/53d795349871) 1. [php-fpm www.conf ](https://github.com/php/php-src/blob/master/sapi/fpm/www.conf.in) 1. [php-fpm php-fpm.conf](https://github.com/php/php-src/blob/master/sapi/fpm/php-fpm.conf.in) 1. [build-static-nginx](https://github.com/jingjingxyk/build-static-nginx) 1. [swoole-cli](https://github.com/swoole/swoole-cli) 1. [php-cli](https://github.com/swoole/build-static-php/releases) 1. [php-fpm](https://github.com/swoole/build-static-php/releases/tag/php-fpm-v0.0.1) 1. [Swoole-Cli 5.0.1:PHP 的二进制发行版](https://segmentfault.com/a/1190000042773837) 1. [ELF ( Executable and Linkable Format ) 可执行和可链接格式 首字母缩略词 解释](https://gitee.com/link?target=https%3A%2F%2Fstevens.netmeister.org%2F631%2Felf.html)