I am trying to configure php installation to use multiple php.ini Is this it feasible?
Thanks,
TL;DR Add PHPIniDir to Apache conf file and ensure that folder contains a version of php.ini suited to your requirements.
A little more information would be required to ensure a full answer, but I'll make an assumption and take it that you're working with a LAMP server, and require making a custom PHP.ini for each server hosted under Apache (vhost). If so, it's a simple procedure for having one (Apache) server host multiple vhosts and each vhost having it's own php.ini file.
An example Apache vhost configuration file would (therefore) read something like this:
<VirtualHost 1.2.3.4:80> DocumentRoot /var/www/vhostA/html <Directory "/var/www/vhostA/html"> Options -Indexes </Directory> PHPINIDir /var/www/web1 ErrorLog ${APACHE_LOG_DIR}/vmhostA-error.log CustomLog ${APACHE_LOG_DIR}/vmhostA-access.log combined </VirtualHost>