I'm attempting to launch a php script from within another php script using the following code:
$WshShell = new COM("WScript.Shell");
$oExec = $WshShell->Run($runCommand, 7, false);
where $runCommand is:
%comspec% /c "C:/wap_artena/wap/php/php.exe" -c C:/wap_artena/wap/php/php.ini C:\wap_artena\artena\private\server\services\ARTENA_Plus\Modules\External\DB/LRP_SDR.php 164 10.1.1.152
Apache generates no issue. On IIS I receive the following error:
I have a feeling this is a permission-related issue but I'm not sure where or what to alter.
Thanks for your help.