Different php.ini for 4 versions php?

Royal Flash

Verified User
Joined
Aug 19, 2012
Messages
27
Hello.

I install 4 php versions:
Code:

Code:
php1_release=7.4
php2_release=7.2
php3_release=7.3
php4_release=5.6
php1_mode=suphp
php2_mode=suphp
php3_mode=suphp
php4_mode=suphp
When I set to domain php 5.6 phpinfo() print:
Code:
PHP Version 5.6.40
Configuration File (php.ini) Path /usr/local/php56/lib
Loaded Configuration File /usr/local/php74/lib/php.ini
When I start php 7.4 - phpinfo() print:
Code:
PHP Version 7.4.5
Configuration File (php.ini) Path /usr/local/php74/lib
Loaded Configuration File /usr/local/php74/lib/php.ini
How can specify for php 5.6, 7.2, 7.3 php.ini path /usr/local/php56/lib/php.ini, ...php72..., ...php73...?
 
Top