Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php5 nginx如何配置 #39

Open
rickywu opened this issue Jan 9, 2018 · 0 comments
Open

php5 nginx如何配置 #39

rickywu opened this issue Jan 9, 2018 · 0 comments

Comments

@rickywu
Copy link

rickywu commented Jan 9, 2018

    location / {
        root   /var/www/teamtoy;
        index index.html index.htm index.php;
    }

    location ~ \.php$ {
        fastcgi_pass   127.0.0.1:9000;
        fastcgi_index  index.php;
        include /etc/nginx/fastcgi_params;
        fastcgi_param SCRIPT_FILENAME `$document_root/service/public$fastcgi_script_name`;
    }

还是报错No input file specified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant