I am working with prolog and php. I am using php, to call prolog.
I am using swi-prolog Version 7.1.17 and XAMPP 1.7.7 [PHP: 5.3.8].
My command :$cmd ='swipl -q -f C:\Users\MyComp\Desktop\test.pl -g test,halt';
Here C:\Users\MyComp\Desktop\test.pl
is prolog file directory. It is worked properly. but Now I update the XAMPP version(above 1.7.7) then it is not work. but the command it is work properly in cmd in windows.How can i solve this kind of problem? Any command will using All XAMPP version for call prolog from php.
用于从php调用swi-prolog的命令
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
1条回答 默认 最新
- douxia5179 2016-03-04 17:31关注
You Try with
nice -n15 /software/bin/pl -f /home/popx/cgi-bin/test.pl -g test,halt
This may be work with your specification.
See the reference解决 无用评论 打赏 举报