Created
February 4, 2016 13:58
-
-
Save SunDi3yansyah/a8e80e48a03adac8f794 to your computer and use it in GitHub Desktop.
Windows Nginx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error_log = C:\Server\nginx\logs\error.log | |
extension_dir = "ext" | |
extension=php_mbstring.dll | |
extension=php_mysql.dll | |
extension=php_mysqli.dll | |
extension=php_sqlite3.dll | |
sqlite3.extension_dir = ext | |
==================== SENDMAIL ==================== | |
[mail function] | |
; For Win32 only. | |
;SMTP = localhost | |
;smtp_port = 25 | |
; For Win32 only. | |
;sendmail_from = | |
; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). | |
sendmail_path = C:\Server\sendmail\sendmail.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Server\php7\php-cgi.exe -b 127.0.0.1:9000 -c C:\Server\php7\php.ini |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Server\php7\php-cgi.exe -b 127.0.0.1:9000 -c C:\Server\php7\php.ini | |
cd c:\ | |
unzip nginx-1.9.6.zip | |
cd nginx-1.9.6 | |
start nginx | |
tasklist /fi "imagename eq nginx.exe" | |
nginx -s stop | |
nginx -s quit | |
nginx -s reload | |
nginx -s reopen |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment