1

I'm new to Red Hat, because of a problem described here:stackoverflow question I end up with 2 instalation of php 7.1.

First I've installed rh-php71 package from Red Hat repo, because I don't have pdo drivers for Microsoft SQL I instaled also php7.1 from Remi repo.

Ok, now I want to instruct httpd24 to use the one from remi (located in /opt/remi/php71).

The actual php work in php-fpm mode

How do I achieve that?

Do I have to config something on php-fm service?

2 Answers 2

1

First I've installed rh-php71 package from Red Hat repo, because I don't have pdo drivers for Microsoft SQL I instaled also php7.1 from Remi repo.

Indeed, Remi repository provides much more extensions than any other sources.

So, php-fpm service for rh-php71 was rh-php71-php-fpm so I disabled it and install php71-php-fpm from Remi and now it's working :)

Yes, that is the way.

I think I could configure rh-php71-php-fm to work with the php stack from remi repo

No, you cannot.

For memory, everything is described in PHP Configuration tips.

0

So, php-fpm service for rh-php71 was rh-php71-php-fpm so I disabled it and install php71-php-fpm from Remi and now it's working :)

I think I could configure rh-php71-php-fm to work with the php stack from remi repo but I don't know from where?

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .