[vc_row full_width=”stretch_row_content_no_spaces” options=”window_height,centered” vsc_text_scheme=”darker-overlay” vsc_parallax=”yes” css=”.vc_custom_1507675284407{padding-top: 50px !important;padding-bottom: 75px !important;}” vsc_bg_image=”4248″][vc_column 0=””][vsc-section-title align=”center” title=”Windows NGINX Installation” title_color=”#ffffff” subtitle_color=”#ffffff”]Let’s go through to setup NGINX on Windows[/vsc-section-title][/vc_column][/vc_row][vc_row full_width=”stretch_row_content_no_spaces” vsc_text_scheme=”darker-overlay” vsc_bg_color=”#000000″][vc_column el_class=”fullsize-wrapper” width=”1/2″ css=”.vc_custom_1427124129051{padding-right: 0px !important;padding-left: 0px !important;}”][vc_single_image image=”4263″][/vc_column][vc_column el_align=”alignleft” width=”1/2″ css=”.vc_custom_1424436615643{padding-top: 10px !important;padding-left: 75px !important;}”][vsc-section-title align=”left” title=”DOWNLOAD NGINX FILES” title_color=”#ffffff”][/vsc-section-title][vc_column_text css=”.vc_custom_1507675611605{padding-right: 150px !important;}”]Head over to the NGINX website and download the current version of NGINX so we may proceed.
Nginx Website[/vc_column_text][/vc_column][/vc_row][vc_row full_width=”stretch_row_content_no_spaces” vsc_text_scheme=”darker-overlay” vsc_bg_color=”#000000″][vc_column el_align=”alignright” width=”1/2″ css=”.vc_custom_1424436739791{padding-top: 25px !important;padding-right: 75px !important;}”][vsc-section-title align=”right” title=”EXTRACT NGINX” title_color=”#ffffff” subtitle_color=”#ffffff”]In this tutorial we will be using the path of C:/nginx
for everything[/vsc-section-title][vc_column_text 0=””]Once you have download the nginx zip file, extract the contents of the folder inside the zip into C:/nginx
If you already have NSSM installed on Windows, skip the next two steps.[/vc_column_text][/vc_column][vc_column el_class=”fullsize-wrapper” width=”1/2″ css=”.vc_custom_1426629203668{padding-right: 0px !important;padding-left: 0px !important;}”][vc_single_image image=”4275″][/vc_column][/vc_row][vc_row full_width=”stretch_row_content_no_spaces” vsc_text_scheme=”darker-overlay” vsc_bg_color=”#000000″][vc_column el_class=”fullsize-wrapper” width=”1/2″ css=”.vc_custom_1426629209543{padding-right: 0px !important;padding-left: 0px !important;}”][vc_single_image image=”4277″][/vc_column][vc_column el_align=”alignleft” width=”1/2″ css=”.vc_custom_1424436885710{padding-top: 50px !important;}”][vc_row_inner css=”.vc_custom_1424342268614{padding-top: 10px !important;}”][vc_column_inner][vsc-text-icon align=”left” type=”fontawesome” icon_fontawesome=”fa fa-question-circle-o” icon=”fa-diamond” title=”OPTIONAL”]If you already have NSSM installed, you may skip this step.[/vsc-text-icon][/vc_column_inner][/vc_row_inner][vsc-section-title align=”center” title=”DOWNLOAD NSSM” title_color=”#ffffff” subtitle_color=”#ffffff”]Download From NSSM Webpage[/vsc-section-title][vc_column_text]Head over to the NSSM Webpage and download the pre-release Zip file so we may extract it for Windows Command Prompt.[/vc_column_text][/vc_column][/vc_row][vc_row full_width=”stretch_row_content_no_spaces” vsc_text_scheme=”darker-overlay” vsc_bg_color=”#000000″][vc_column width=”1/2″][vc_row_inner css=”.vc_custom_1424342268614{padding-top: 10px !important;}”][vc_column_inner][vsc-text-icon align=”left” type=”fontawesome” icon_fontawesome=”fa fa-question-circle-o” icon=”fa-diamond” title=”OPTIONAL”]If you already have NSSM installed, you may skip this step.[/vsc-text-icon][/vc_column_inner][/vc_row_inner][vsc-section-title align=”center” title=”EXTRACT NSSM“][/vsc-section-title][vc_column_text]Now that you have download the NSSM Zip file. Go ahead and unzip that file and navigate to the folder that has win32
and win64
folders. Depending on your Windows installation [More than likely 64bit] go into the correct folder. Copy the nssm.exe file into C:/windows/system32/
[/vc_column_text][/vc_column][vc_column el_class=”fullsize-wrapper” width=”1/2″ css=”.vc_custom_1503189761987{padding-right: 0px !important;padding-left: 0px !important;}”][vc_single_image image=”4278″][/vc_column][/vc_row][vc_row full_width=”stretch_row_content_no_spaces” vsc_text_scheme=”darker-overlay” vsc_bg_color=”#000000″][vc_column el_class=”fullsize-wrapper” width=”1/2″ css=”.vc_custom_1426629209543{padding-right: 0px !important;padding-left: 0px !important;}”][vc_single_image image=”4284″][/vc_column][vc_column el_align=”alignleft” width=”1/2″ css=”.vc_custom_1424436885710{padding-top: 50px !important;}”][vsc-section-title align=”center” title=”INSTALL NGINX USING NSSM” title_color=”#ffffff” subtitle_color=”#ffffff”][/vsc-section-title][vc_column_text]Open up Command Prompt [Type cmd in start bar] by Right-Clicking it and selecting Run as Administrator.
Then type nssm install nginx
Then fill out the box like the image.[/vc_column_text][/vc_column][/vc_row][vc_row full_width=”stretch_row_content_no_spaces” vsc_text_scheme=”darker-overlay” vsc_bg_color=”#000000″][vc_column width=”1/2″][vsc-section-title align=”center” title=”EDIT NGINX SERVICE”][/vsc-section-title][vc_column_text]
- Open up Run [Windows Key + R] and type services.msc and hit Enter.
- Find nginx under the Name column.
- Right Click and select properties and goto Log On tab.
- Click This Account and fill out the user information.
- If it helps, click Browse and type in your username and click Check Names.
- Once it finds you name click OK and type in your password and click Apply.
- Click Start or Restart Service
- Make sure no errors came up.
[/vc_column_text][/vc_column][vc_column el_class=”fullsize-wrapper” width=”1/2″ css=”.vc_custom_1503189761987{padding-right: 0px !important;padding-left: 0px !important;}”][vc_single_image image=”4286″][/vc_column][/vc_row][vc_row full_width=”stretch_row” vsc_text_scheme=”darker-overlay” vsc_bg_color=”#0a0a0a”][vc_column][vc_empty_space][/vc_column][/vc_row][vc_row full_width=”stretch_row” vsc_text_scheme=”darker-overlay” vsc_bg_color=”#000000″][vc_column width=”4/6″][vsc-text-icon align=”right” type=”fontawesome” icon_fontawesome=”fa fa-hand-o-right” title=”CONTINUE TO PHP INSTALLATION” title_color=”#ffffff” text_color=”#ffffff” icon_color=”#ffffff”]Now that NGINX is installed, we need to install PHP and configure both of them to work together.[/vsc-text-icon][/vc_column][vc_column width=”2/6″][vsc-button text=”PHP INSTALLATION” align=”center” type=”fontawesome” icon_fontawesome=”fa fa-arrow-right” i_align=”pull-right” add_icon=”true” url=”/install-php-windows” color=”#3a6da6″][/vc_column][/vc_row]