mbsmt
Verified User
Hey guys.
I've set PHP 5.6 as the first relase and 7.0 as the second one in Custombuild and installed them completely on my server. Then I changed the main PHP version of one website from 5.6 to 7 and ran the code below on it and another website (running with PHP 5.6)
Results were:
and
Is not it strange? Both cases are telling loaded php.ini are same, whereas they are running two different versions of PHP. In this case, I can not have PHP 7 special settings on its php.ini file.
I've set PHP 5.6 as the first relase and 7.0 as the second one in Custombuild and installed them completely on my server. Then I changed the main PHP version of one website from 5.6 to 7 and ran the code below on it and another website (running with PHP 5.6)
PHP:
<?php
echo phpversion().'<br>'.php_ini_loaded_file();
?>
Code:
7.0.17
/usr/local/php56/lib/php.ini
Code:
5.6.30
/usr/local/php56/lib/php.ini
Is not it strange? Both cases are telling loaded php.ini are same, whereas they are running two different versions of PHP. In this case, I can not have PHP 7 special settings on its php.ini file.
Last edited: