PHP FPM and HTTP configuration

I have to configure PHP to work together with HTTPD.
I have compared configuration of files from other servers already configured with PHP and HTTPD.
This is the output when I grep the fpm service (on the working server) :

[root@www2b aigini]# ps -ef | grep fpm
root      3561     1  0 Jan16 ?        00:08:28 php-fpm: master process (/etc/opt/rh/rh-php71/php-fpm.conf)
apache    8419  3561  0 16:36 ?        00:00:09 php-fpm: pool www
apache    9642  3561  1 16:42 ?        00:00:07 php-fpm: pool www
apache    9683  3561  1 16:42 ?        00:00:06 php-fpm: pool www
apache   10909  3561  0 16:47 ?        00:00:02 php-fpm: pool www
apache   11039  3561  1 16:48 ?        00:00:03 php-fpm: pool www
apache   11137  3561  0 16:48 ?        00:00:02 php-fpm: pool www
apache   11393  3561  1 16:49 ?        00:00:02 php-fpm: pool www
apache   11907  3561  1 16:52 ?        00:00:00 php-fpm: pool www
apache   11968  3561  1 16:52 ?        00:00:00 php-fpm: pool www
apache   12100  3561  1 16:52 ?        00:00:00 php-fpm: pool www
root     12201 12075  0 16:53 pts/0    00:00:00 grep --color=auto fpm
[root@www2b aigini]#

In my server, when I grep fpm, I get this :

[root@login.int.myassist.my php-fpm.d]#ps -ef | grep fpm
root      6690     1  0 16:32 ?        00:00:00 php-fpm: master process (/etc/opt/rh/rh-php71/php-fpm.conf)
root      6974  5806  0 16:35 pts/0    00:00:00 grep --color=auto fpm
[root@login.int.myassist.my php-fpm.d]#

These are all the php related packages I installed in the server :

rh-php71.x86_64                                                                                  1-1.el7                                                                    @centos-sclo-rh-7
rh-php71-php-bcmath.x86_64                                                                       7.1.30-2.el7                                                               @centos-sclo-rh-7
rh-php71-php-cli.x86_64                                                                          7.1.30-2.el7                                                               @centos-sclo-rh-7
rh-php71-php-common.x86_64                                                                       7.1.30-2.el7                                                               @centos-sclo-rh-7
rh-php71-php-fpm.x86_64                                                                          7.1.30-2.el7                                                               @centos-sclo-rh-7
rh-php71-php-gd.x86_64                                                                           7.1.30-2.el7                                                               @centos-sclo-rh-7
rh-php71-php-json.x86_64                                                                         7.1.30-2.el7                                                               @centos-sclo-rh-7
rh-php71-php-mbstring.x86_64                                                                     7.1.30-2.el7                                                               @centos-sclo-rh-7
rh-php71-php-mysqlnd.x86_64                                                                      7.1.30-2.el7                                                               @centos-sclo-rh-7
rh-php71-php-pdo.x86_64                                                                          7.1.30-2.el7                                                               @centos-sclo-rh-7
rh-php71-php-pear.noarch                                                                         1:1.10.4-1.el7                                                             @centos-sclo-rh-7
rh-php71-php-pgsql.x86_64                                                                        7.1.30-2.el7                                                               @centos-sclo-rh-7
rh-php71-php-process.x86_64                                                                      7.1.30-2.el7                                                               @centos-sclo-rh-7
rh-php71-php-soap.x86_64                                                                         7.1.30-2.el7                                                               @centos-sclo-rh-7
rh-php71-php-xml.x86_64                                                                          7.1.30-2.el7                                                               @centos-sclo-rh-7
rh-php71-php-xmlrpc.x86_64                                                                       7.1.30-2.el7                                                               @centos-sclo-rh-7
rh-php71-php-zip.x86_64                                                                          7.1.30-2.el7                                                               @centos-sclo-rh-7
rh-php71-runtime.x86_64                                                                          1-1.el7                                                                    @centos-sclo-rh-7

How and what do I have to configure in my server to make the output as the working server?

as far as I can see your new box is ready to serve PHP from within the HTTPd server -- provided

You have php-fpm package installed for your server -- which is a YES from your list of php packages.

just place a file in /var/www/html/ like feeka.php and try browsing it?
use this code

echo "<?php echo phpinfo(); ?>" > /var/www/html/feeka.php

then try browsing the page in your browser with http://IP_OF_YOUR_MACHINE/feeka.php

or do a curl
curl http://IP_OF_YOUR_MACHINE/feeka.php

this should given your an output which will set your direction for next steps.

The number of php-fpm process should differ from server to server and from second to second, since it is load & configuration dependent.
ps and counting will not get you far.

Compare configuration files /etc/opt/rh/rh-php71/php-fpm.conf from both boxes using diff or similar utility.
Check for min/max parameters and pm=<value> especially.

Read about php-fpm to understand the values and behavior.

Hope that helps
Regards
Peasant.

Yes, thk you all for your replies.
As long as you got httpd running, and you start php-fpm, you will be able to see the list of pools matching the number of httpd processes.
However, of course you have to configure files like php-fpm.conf, www.conf, and create a symlink between /usr/local/httpd and /opt/rh/httpd24/root/etc/httpd.
We also create phpfpm.conf in this symlink to complete the php configuration.