Coder Social home page Coder Social logo

docker-alpine-nginx's People

Contributors

matriphe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

docker-alpine-nginx's Issues

No input file specified when trying to run PHP

Hello, I might be doing something wrong but would like some help if possible.

I'm running this image with the php-fpm.

I'm able to view html pages but whenever I try to run a php file a get "No input file specified.".

The nginx error log:

2016/09/17 02:27:36 [error] 7#0: *55 FastCGI sent in stderr: "Unable to open primary script: /usr/share/nginx/html/index.php (No such file or directory)" while reading response header from upstream, client: 172.17.0.1, server: _, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://172.17.0.5:9000", host: "localhost"

Thank you

Connect() failed (111: Connection refused)

Not sure why this is happening, I followed instructions to connect and start nginx and php (with docker run command) but I am getting this error:

2016/08/21 04:54:31 [error] 6#0: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: sabestetik.loc, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://172.19.0.3:9000", host: "sabestetik.loc"

I also tried to make docker-compose.yml to connect and start nginx and php (which would be better way to start them than run) but I got exactly the same message.

Being new to Docker I could not trace why is that happening although I am skilled with installing and maintaining servers, nginx and php.

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.