PHP cURL无法在Cpanel(Linux)服务器(ehost.com)上运行

时间:2016-11-06 09:37:23

标签: php linux curl

我遇到有关 PHP cURL 的问题。实际上我通过PHP cURL命令发送HTTP头。它在Localhost(Xampp)上工作正常但是当我在托管服务器(ehost.com)上传相同的代码时,它无法正常工作。此外,我已经在托管服务器上检查cURL是否在那里启用。我检查了import turtle image = "C:/Python27/Pythonprogramming/image.png" screen = turtle.Screen() screen.addshape(image) turtle.shape(image) turtle.mainloop() ,它显示cURL是ENABLE。

下面是我的代码:

<?php phpinfo() ?>

任何想法或建议都会得到赞赏。

0 个答案:

没有答案