Skip to content

This is my own-build version of Nginx server with PHP maintaining. Also React JS Apps can be run on it! More about this build you can read in README file below.

Notifications You must be signed in to change notification settings

yaroslav-hub/nginx-php-windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Nginx + PHP for Windows

This is my own-built version of Nginx server with PHP maintaining. Also React JS Apps can be run on it! You can use it if you want to run your React JS App, PHP Code, basic web technologies and any combinations of them locally. Let's see how it works and how to get-started with it.

How it works?

If you know how servers are working and how they handle requests from user (browser), you can skip this step. Also if you are beginner, information below is not education article, it is just fast description for Nginx-Server work and its collaboration with PHP-interpreter.

HERE IS WORK DESCRIPTION...

Getting-Started

So now I will explain you how to use my build (it is very easy). You can start your App just in 3 steps.

1. Downloading.

First of all you have to download this repository ("clone" button) and place the server folder in your C-disk directory. It is very important, because if you will place it with your own path, it will not work (for this case you can read this )!

2. Transfering your App (files).

Second step is placing your App-files for running them on server. As you can guess, root folder in server is root directory for Nginx. So here are some variants of completing this step:

  • React JS ...
  • PHP ...
  • Basic technologies ...

3. Starting Server.

There's not much left. The last step is to start all working processes. It sounds difficult, but in my build you can do this in one click. To start server you just have to run start.bat and to stop server you can use stop.bat. This two files are located in server.

Pay attention that when you run start.bat, new cmd-window is creating. Do NOT close it, because this is process-window of PHP FastCGI.

Have you completed all 3 steps consistently? If yes, you can open your browser and go to http://localhost host, where your App is already working. Congratulations! Are you happy now? I hope yes.

Technologies

In this build I used soft from official resources. Here is there list:


This Server-Build and README file was made by Yaroslav ( GitHub, Telegram ).

About

This is my own-build version of Nginx server with PHP maintaining. Also React JS Apps can be run on it! More about this build you can read in README file below.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages