The problem of multiple versions of php calling each other using exec

there was originally a php5.3, on the current server, but due to the encryption method provided by UnionPay, this version does not support it, and because this project has just started and is about to be launched, it cannot be upgraded immediately, which is whimsical. Consider installing another php7, and then using similar

in the original code.
$sign = exec("php7 sign.php");

this kind of code to execute
turns out to have a try (in sign.php, the phpinfo), actually executes sign.php is still php5.3
. Why?
is there a solution?

Php
Sep.10,2021

directly open a port to build an encryption service. There are many ways to call the private network API


:
the path of 1.php7 is complete.
2.php7 projects and old projects can be called by http. Keep in mind that security

Menu