We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e67acdf commit 3bb6a88Copy full SHA for 3bb6a88
Win32/debug/command/start_nginx_php.bat
@@ -0,0 +1,23 @@
1
+@echo off
2
+
3
+cd ./command
4
5
+set php_home=../php_7.0.9
6
+set nginx_home=../nginx_1.14.2
7
8
+REM Windows 下无效
9
+REM set PHP_FCGI_CHILDREN=5
10
11
+REM 每个进程处理的最大请求数,或设置为 Windows 环境变量
12
+set PHP_FCGI_MAX_REQUESTS=1000
13
14
+REM RunHiddenConsole.exe %php_home%/phpdesktop_php.exe init.php
15
16
+echo Starting nginx...
17
+RunHiddenConsole.exe %nginx_home%/phpdesktop_nginx.exe -p %nginx_home%
18
19
+echo Starting PHP FastCGI...
20
+RunHiddenConsole.exe phpdesktop_xxfpm.exe "%php_home%/phpdesktop_php-cgi.exe -c %php_home%/php.ini" -n 5 -i 127.0.0.1 -p 9000
21
22
+cd ..
23
0 commit comments