php命令行上没有ssl
I have a php script that works perfectly on the browser BUT it has this error on windows command line.
I have ssl enabled in php config and from what I gather it works for browser but not command line but I don't understand the difference between these two (neither is windows service I belive). Basicly I don't know what to do about it and I need to run the script from commandline, then create .bat file (in order to start windows scheduler - like cron under linux).
I have windows Xp and Xampp. Please help.
我有一个在浏览器上完美运行的php脚本但它在Windows命令行上有这个错误。 p>
p>
我在php配置中启用了ssl,从我收集的它适用于浏览器而不是命令行,但我不明白这两者之间的区别(我不相信Windows服务)。 基本上我不知道该怎么办,我需要从命令行运行脚本,然后创建.bat文件(为了启动Windows调度程序 - 就像linux下的cron)。 p>
我有Windows Xp和Xampp。 请帮忙。 p> div>
As mentioned in comment above. Php in command line uses different php.ini config.