Sure, for windows
you can use:
$WshShell = new COM("WScript.Shell");
$oExec = $WshShell->Run("C:/path/to/php-win.exe -f C:/path/to/script.php", 0, false);
Note:
If you get a COM
error, add the extension to your php.ini
and restart apache
:
[COM_DOT_NET]
extension=php_com_dotnet.dll