0
我正在嘗試爲我的應用程序實現Wolfram Alpha API。我下載他們的語言庫並在我的瀏覽器中加載他們的示例頁面。Wolfram Alpha php的實現問題
不過,我
Warning: simplexml_load_file(http://api.wolframalpha.com/v1/query.jsp?appid=myid-8RJR4ELL82&input=pi): failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\xampp\htdocs\wolfram\PHP_Binding_0_1\wa_wrapper\WolframAlphaEngine.php on line 47
Warning: simplexml_load_file(): I/O warning : failed to load external entity "http://api.wolframalpha.com/v1/query.jsp?appid=myid-8RJR4ELL82&input=pi" in C:\xampp\htdocs\wolfram\PHP_Binding_0_1\wa_wrapper\WolframAlphaEngine.php on line 47
Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\wolfram\PHP_Binding_0_1\wa_wrapper\WolframAlphaEngine.php on line 47
我用自己的預製PHP庫和負載
http://localhost/wolfram/PHP_Binding_0_1/samples/simpleRequest.php?q=pi
在我的地址欄。
任何人都可以幫我解決這個問題嗎?非常感謝! 30秒