IIS7上的PHP exec()命令

时间:2015-08-21 08:17:59

标签: php iis-7

我正在尝试启动PHP脚本作为后台任务,我正在尝试运行以下命令:

 exec('"C:\Program Files (x86)\PHP\php.exe" C:\PHPSites\paul\grocon_inc\en\test.php');

但是我在日志中收到了很多错误消息:

[21-Aug-2015 08:00:59 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_dba.dll' - The specified procedure could not be found.

[21-Aug-2015 08:00:59 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_dbase.dll' - The specified procedure could not be found.

[21-Aug-2015 08:00:59 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_fdf.dll' - The specified procedure could not be found.

[21-Aug-2015 08:00:59 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_interbase.dll' - The specified module could not be found.

等等......

dll就在那里 - php脚本正常运行。我怀疑它与权限有关,但SYSTEM拥有dll的完全权限。我错过了什么?

0 个答案:

没有答案