Topic: installing php-fpm with ansible

hi

I tried to install php-fpm on two different servers by using this github.com/Vinelab/ansible-php-fpm

as you may see its gathering remis repo and orchestrating the play-book

differently from this code, I added php56 and php71



on the first box both php56 and 71 have been installed successfully bot for the second one it didn't work. there is no error message after running play-book, it says its okay.

Also I want to use php71 as default

Do you have any suggestions?

Re: installing php-fpm with ansible

Use instruction from the Wizard (top right link)

But I'm don't know about ansible, but I quite sure you will find some examples on github...

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 24 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.8 x86_64 + EPEL + remi + remi-php70

Re: installing php-fpm with ansible

Seems same question than
https://stackoverflow.com/questions/446 … 7/44606777

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 24 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.8 x86_64 + EPEL + remi + remi-php70

Re: installing php-fpm with ansible

thank you for your reply.

the problem is: in one server php56 and php71 have been installed successfully, but I want to enable php71 as default. that link didn't work fo

Re: installing php-fpm with ansible

Sorry, not enough information to understand your question.

What is the package list installed ?
What do you want ?

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 24 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.8 x86_64 + EPEL + remi + remi-php70

Re: installing php-fpm with ansible

Notice: if you have installed both mod_php (5.6 and 7.1), this cannot work, apache is only able to load 1 php module.

For multi versions, you have to use FPM instead.

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 24 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.8 x86_64 + EPEL + remi + remi-php70