Code Monkey home page Code Monkey logo

nginx-php-windows's Introduction

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 ).

nginx-php-windows's People

Contributors

yaroslav-hub avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.