无法在Windows上使用带有XAMPP的Symfony2 Process Component运行进程

时间:2014-11-03 15:16:31

标签: php symfony pdf xampp phantomjs

我想使用phantomjs生成当前网站的PDF。生成的命令行是正确的! PATH变量是正确的,因为如果我将它复制到cmd窗口,一切都很完美,但php有一些问题。

  

Rasterize脚本失败。   CommandLine:" phantomjs" " C:/ XAMPP / htdocs中/ excitingfit /应用/../幅/捆绑/ padam87rasterize / JS / rasterize.js" "本地主机/ excitingfit /网络/ app_dev.php /捆绑/ padam87rasterize /温度/光栅化-54579a69e9c31.html" " C:/ XAMPP / htdocs中/ excitingfit /应用/../幅/捆绑/ padam87rasterize /气温\光栅化-54579a69e9c31.pdf" " PDF"   ExitCode:1   ErrorOutput:Der Befehl"" phantomjs"" ist entweder falsch geschrieben oder   konnte nicht gefunden werden。

0 个答案:

没有答案