1 (edited by Bedlore 2014-11-06 14:05:10)

Topic: Need guidance installing php-fpm on CentOS 6.6

I've followed the instructions from several sites but always get ninxo package available.  I'm a debian user but have to convert to CentOS since I moved to cPanel/CloudLinux. I have disabled the php selector in cloudlinux since I know its not compatible with php-fpm.  I've installed Varnish and nginx but can't get php-fpm.  Very frustrated, can someone please help.

# yum --enablerepo=remi,epel install php-fpm
Loaded plugins: fastestmirror, rhnplugin
Setting up Install Process
Loading mirror speeds from cached hostfile
* cloudlinux-x86_64-server-6: cl-mirror.syd.ventraip.net.au
* epel: fedora.mirror.uber.com.au
* remi: remi.conetix.com.au
No package php-fpm available.
Error: Nothing to do

Current php version is PHP 5.4.34 (cli)

Much appreciated.

Re: Need guidance installing php-fpm on CentOS 6.6

try to search for exclude rules in yum repository configuration.

AFAIK cpanel exclude php* package and only allow those from their repository
As cpanel is written in PHP, changing something in the stack could break it.

cpanel is not really centos, too much changes.
Sorry, but probaly can help more with this configuration.

Please ask in the semi-official #cpanel channel on Freenode (/join #cpanel) or you may alternatively open a free ticket up via http://tickets.cpanel.net/submit

Or use a true CentOS wink   (without cpanel)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Need guidance installing php-fpm on CentOS 6.6

Thank you!  In /etc/yum.conf I found exclude=php* among others.  Its now showing up in yum search nicely.

Tell me, what is the difference is using just 'php-fpm' as opposed to 'php54-php-fpm'?  I'm not sure which is a better choice for me.

I would of preferred staying on debian, but as a host there's lot of benefits to cpanel, so... sad

Your amazing Remi

Re: Need guidance installing php-fpm on CentOS 6.6

Bedlore wrote:

Tell me, what is the difference is using just 'php-fpm' as opposed to 'php54-php-fpm'?  I'm not sure which is a better choice for me.

Read : http://blog.famillecollet.com/pages/English-FAQ#scl

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Need guidance installing php-fpm on CentOS 6.6

Notice php54-php-fpm (SCL package), will probably allow you to use FPM without affecting default system PHP used by cpanel (but no warranty)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

6 (edited by Bedlore 2014-11-06 15:24:57)

Re: Need guidance installing php-fpm on CentOS 6.6

Yes I understand now, certainly appears to be the more likely scenario to work. I'll tie a rope to my waist and head in.

The cPanel guys make no secret of their hate for FPM unfortunately.

For the interest of others who may stumble on this thread, I now installed it and both WHM and cPanel appear to still function fine. Hopefully I won't come across anything in time.  touch wood.

Thank you again Remi