From the command line:
php --info
//⇒ PHP Version => 5.5.18
From the command line within a background process:
exec('php --info>>logs/phpVersion.txt');
//⇒ PHP Version => 5.5.14
I want the background process to run version 5.5.18 (or the same version as the web server). Where is that configured?