docker-alpine-nginx
docker-alpine-nginx copied to clipboard
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