PHPackages                             environment/php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. environment/php

ActiveLibrary

environment/php
===============

MySQL database dump.

v1.1.4(2y ago)1201[1 PRs](https://github.com/JackZhang-nodus/PHPEnv/pulls)BSD-3-ClauseVim ScriptPHP &gt;=7.1

Since Jun 19Pushed 1y ago1 watchersCompare

[ Source](https://github.com/JackZhang-nodus/PHPEnv)[ Packagist](https://packagist.org/packages/environment/php)[ Docs](https://github.com/JackZhang-nodus/env)[ RSS](/packages/environment-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)DependenciesVersions (9)Used By (0)

Install multiple versions of nginx + PHP + MySQL on Windows
===========================================================

[](#install-multiple-versions-of-nginx--php--mysql-on-windows)

1. Download Software: sample software version
---------------------------------------------

[](#1-download-software-sample-software-version)

nginx-1.16.1+php-7.2.9+mysql-5.7.35

- PHP：
- Nginx:
- Mysql:

2. Unzip the software to the directory
--------------------------------------

[](#2-unzip-the-software-to-the-directory)

- PHP： C:\\env\\php\\php-7.2.9-nts-Win32-VC15-x64
- Nginx： C:\\env\\nginx\\nginx-1.16.1
- Mysql： C:\\env\\mysql\\mysql-5.7.35-winx64

3. Configure php.ini and nginx.conf
-----------------------------------

[](#3-configure-phpini-and-nginxconf)

php.ini:

```
extension_dir="./ext"
error_log=C:/env/php/php-7.2.9-nts-Win32-VC15-x64.log

```

nginx.conf:

```
upstream fastcgi_backend {
	server 127.0.0.1:9000;
	server 127.0.0.1:9001;
        server 127.0.0.1:9002;
        server 127.0.0.1:9003;
}

server {
        listen        80;
        server_name  localhost;
        root   "C:/sites";
        location / {
            index index.php index.html;
        }
        location ~ \.php(.*)$ {
            fastcgi_pass   fastcgi_backend;
            fastcgi_index  index.php;
            fastcgi_split_path_info  ^((?U).+\.php)(/?.+)$;
            fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
            fastcgi_param  PATH_INFO  $fastcgi_path_info;
            fastcgi_param  PATH_TRANSLATED  $document_root$fastcgi_path_info;
            include        fastcgi_params;
        }
}

```

4. Create start.bat to start services
-------------------------------------

[](#4-create-startbat-to-start-services)

```
@echo off
set console_home=C:\env
set php_home=C:\env\php\php-7.2.9-nts-Win32-VC15-x64
set nginx_home=C:\env\nginx\nginx-1.16.1
set mysql_home=C:\env\mysql\mysql-5.7.35-winx64

REM set PHP_FCGI_CHILDREN=5
set PHP_FCGI_MAX_REQUESTS=1000

echo Starting nginx .......................
"%console_home%/RunHiddenConsole.exe" "%nginx_home%/nginx.exe" -p "%nginx_home%"
echo Start nginx success

echo Starting PHP .......................
"%console_home%/RunHiddenConsole.exe" "%php_home%\php-cgi.exe" -b 127.0.0.1:9000 -c "%php_home%\php.ini"
"%console_home%/RunHiddenConsole.exe" "%php_home%\php-cgi.exe" -b 127.0.0.1:9001 -c "%php_home%\php.ini"
"%console_home%/RunHiddenConsole.exe" "%php_home%\php-cgi.exe" -b 127.0.0.1:9002 -c "%php_home%\php.ini"
"%console_home%/RunHiddenConsole.exe" "%php_home%\php-cgi.exe" -b 127.0.0.1:9003 -c "%php_home%\php.ini"
echo Start php-cgi success

echo Starting mysql .......................
"%console_home%/RunHiddenConsole.exe" "%mysql_home%\bin\mysqld.exe"
echo Start mysql success

pause
Exit

```

5. Create stop.bat to stop services
-----------------------------------

[](#5-create-stopbat-to-stop-services)

```
@echo off
echo Stopping nginx...
taskkill /fi "imagename eq nginx.exe" /f> nul
echo Stop nginx success

echo Stopping PHP FastCGI...
taskkill /fi "imagename eq php-cgi.exe" /f> nul
echo Stop php-cgi success

echo Stopping mysql...
taskkill /fi "imagename eq mysqld.exe" /f> nul
echo Stop mysql success

pause

exit

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

6

Last Release

1054d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/147a3708088577d34243a1ede2d04d373478086c502d43dc94de68509cc568b7?d=identicon)[JackZhang-nodus](/maintainers/JackZhang-nodus)

---

Top Contributors

[![JackZhang-nodus](https://avatars.githubusercontent.com/u/86044816?v=4)](https://github.com/JackZhang-nodus "JackZhang-nodus (29 commits)")[![jack-zhang90](https://avatars.githubusercontent.com/u/154853958?v=4)](https://github.com/jack-zhang90 "jack-zhang90 (1 commits)")

---

Tags

php

### Embed Badge

![Health badge](/badges/environment-php/health.svg)

```
[![Health](https://phpackages.com/badges/environment-php/health.svg)](https://phpackages.com/packages/environment-php)
```

###  Alternatives

[pestphp/pest-plugin-stressless

Stressless plugin for Pest

67792.6k16](/packages/pestphp-pest-plugin-stressless)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
