更新时间:2022-05-18 22:56:33
您必须提供php.exe
php.exe
exec("c:\wamp\<where ever you exe is>/php.exe test.php");
所以它必须是正确的路径
so it has to be a proper path
我无法在Wamp server2.1中运行我的php文件
exec无法在php脚本中工作(WAMP Server)
在Wamp Server中将php脚本作为后台进程运行