Nginx and PHP for Windows

1. Environment Window XP Nginx 0.8.50 PHP 5.2.14 2. Download Nginx Unzip to D:\nginx-0.8.50 3. Download PHP Unzip to D:\nginx-0.8.50\php-5.2.14 4. Create D:\nginx-0.8.50\php-5.2.14\php.ini cgi.fix_pathinfo = 1 extension_dir = “D:/nginx-0.8.50/php-5.2.14/ext” 5. start-php-cgi.bat : set PHP_FCGI_MAX_REQUESTS=1000 D:/nginx-0.8.50/php-5.2.14/php-cgi.exe -b 127.0.0.1:9000 -c D:/nginx-0.8.50/php-5.2.14/php.ini 6. start-nginx.bat D:/nginx-0.8.50/nginx.exe 7. stop-all.bat: taskkill /F /IM nginx.exe > nul taskkill /F /IM php-cgi.exe > […]

Posted in Nginx | Tagged , , | 1 Comment

CMD fast

CMD fast for folder : [HKEY_CLASSES_ROOT\folder\shell\cmd] CMD fast [HKEY_CLASSES_ROOT\folder\shell\cmd\command] cmd.exe /k cd %1

Posted in Uncategorized | Tagged | Leave a comment

Cmd Fast for Windows Directory

1. Run cmd regedit 2. Modify [HKEY_CLASSES_ROOT\folder\shell\cmd] set value to : CMD fast [HKEY_CLASSES_ROOT\folder\shell\cmd\command] set value to : cmd.exe /k cd %1 3. Save and Exit

Posted in Windows | Tagged | Leave a comment