Collectives on Stack Overflow. Learn more. No input file specified Ask Question. Asked 8 years, 11 months ago. Active 1 year, 3 months ago. Viewed k times. Paulo Boaventura 1, 1 1 gold badge 7 7 silver badges 27 27 bronze badges. Cole Roberts Cole Roberts 2 2 gold badges 14 14 silver badges 24 24 bronze badges.
There is not enough information given in this question. It is not possible to answer. I appreciate your timely response. All information available: is that short string really all you see? Where do you see it? What is in the http servers log files? Access and error log? How does the. What is the url you called? Or: what type of installer is that? I ran into this issue for me with Laravel and my local env. Solution was to reprovision vagrant: vagrant reload --provision — Connor Leech.
Add a comment. Active Oldest Votes. We need to find an alternative. Need a better option? Find a better CMS. Repox Repox That broke unexpectedly today with the error message from OP. I guess the web hoster updated something. Thank you so much for this! I was prepared for a long grind of googling but your fix solved it for me.
Nothing wrong with the config you pasted. Please check into your file permissions or provide more details. May i know which file permission? It is specified in this very blog post how.
I tried to follow your advice with my wordpress installation, but somehow without luck. So I guess the permissions are proper resp. Would you mind to give a helping hand? Thanks for sharing those tips! Commenting it out in the php. Two days lost troubleshooting nginx configuration, changing parameters and trying to understand what was going on. You pointed at least to the right direction by explaining the difference of fastcgi. How do I modify my configuration to take also into account ….
I would be very glad to hear your comments on that and how you suggest me to solve that. Any help appreciated. Thank you so much in advance. Some of them say pretty well, like this. Your email address will not be published. Post Comment. Wrong Path Sent to PHP The most common reason at the time of writing happens because a user uses a horrible tutorial found via google instead of actually understanding nginx.
An example of this: Say you have an index. Chrooted Environment If your PHP lives in a chrooted environment that nginx does not, then they basically have 2 different roots and the file path that nginx reports to PHP will not resolve to the actual file. A simple example to make this obvious: Lets say you request phpinfo. Open Basedir Restriction PHP has the option to limit file access to certain directories defined in your php.
Leave new str0x3r. Hey there! I think you were it who telled me to read this yesterday in nginx-irc. But there is one thing i really have to ask. Chen Yufei. Clearly written about the problem and I solve it. Hi Martin Thanks for the explanation. Thanks for that reply Martin. Adrian Ratnapala. How to fix it.
Poonam Bhatt. Poonam Bhatt Poonam Bhatt 9, 16 16 gold badges 48 48 silver badges 70 70 bronze badges. Not sure if it helps, but i encountered the same thing, after changing permissions to the site directory using chmod it worked again — Craig Wayne. What did you chmod it to? Does this answer your question? No input file specified — Paulo Boaventura. Add a comment. Active Oldest Votes. You must add "include fastcgi. I tried that, I got the same result. Here is my configuration : jsfiddle.
Any hints will be much appreciated! Bikal Basnet 1, 1 1 gold badge 18 18 silver badges 31 31 bronze badges. Sam Najian Sam Najian 3 3 silver badges 2 2 bronze badges. Simon Ouellet Simon Ouellet 89 4 4 bronze badges. Try adding this line to your server configuration : index index. Johnride Johnride 7, 5 5 gold badges 28 28 silver badges 38 38 bronze badges. Okay this is some important info. Have you seen this : stackoverflow.
Have you had a different error code? What exactly are you trying? Have you tried useing a socket instead of Do you have more verbose errors in your NGinx logs? I dont know how to check Nginx and php-cgi logs?
You're not supposed to have the root directive in a location block: nginxlibrary. Show 1 more comment. Fresco Fresco 3 3 silver badges 12 12 bronze badges. Verter Verter 1 1 silver badge 8 8 bronze badges.
Thomas Ward 2, 5 5 gold badges 32 32 silver badges 47 47 bronze badges. It is what this declaration is made for. My two cents. Glad you found your issue though, I had almost the same problem the first time I set NGinx, did not thought about it when I tried to help you.
And how does this differ from the existing answers? You should put that information into your answer.
0コメント