這是我的代碼:PHP笨curl_multi_init錯誤
class facebookConnection {
// Allow multi-threading.
private $_mch = NULL;
private $_properties = array();
function __construct()
{
$this->_mch = curl_multi_init();
$this->_properties = array(
'code' => CURLINFO_HTTP_CODE,
'time' => CURLINFO_TOTAL_TIME,
'length' => CURLINFO_CONTENT_LENGTH_DOWNLOAD,
'type' => CURLINFO_CONTENT_TYPE
);
}
我得到Fatal error: Call to undefined function curl_multi_init() in /var/www/application/libraries/facebook.php on line 123
這是我的本地機器上運行...會是一個問題嗎?我不明白。
哇。我現在感到啞巴。金髮時刻我猜。謝謝! – ellieinphilly 2011-03-14 01:14:21
我在phpinfo中看不到那些功能,請告訴我該怎麼辦 – koool 2011-05-21 04:17:21