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

php upgrade to 5.6 - how do I change the version that nginx is using? #260

Open
EdViva opened this issue Sep 1, 2016 · 1 comment
Open

Comments

@EdViva
Copy link

EdViva commented Sep 1, 2016

I have upgraded php to 5.6 in order to get some mailchimp functionality to work, including upgrading to php5.6-fpm. At the moment I have both 5.3.* and 5.6 running but nginx is just using the old version. If i shutdown the service then the sites are not served. I am using perusio's fpm config files. How can I get nginx to use the upgraded version of php-fpm? I am using tcp not unix sockets.

@iryston
Copy link
Contributor

iryston commented Jan 6, 2017

What are the "listen" directives in your 5.3 and 5.6 php-fpm pools?
They should use different ports.
Check if the "server" directive in upstream_phpcgi_tcp.conf is matching to configured pools for corresponding PHP version.

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

2 participants