You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Sun Jun 23 10:41:15.880997 2019] [:error] [pid 32465] [client 169.254.65.200:63206] PHP Fatal error: Call to undefined function curl_init() in /var/www/html/xxxx/yyyy/.antproxy.php on line 3
这一行是 $aAccess = curl_init();
我ubuntu18.04在
sudo apt install php5.6-curl
service apache2 restart
[Sun Jun 23 11:41:45.137806 2019] [:error] [pid 681] [client 169.254.65.200:50174] PHP Notice: Undefined offset: 1 in /var/www/html/xxxx/yyyy/.antproxy.php on line 58
用is_bool看了下,$sResponse是个bool值
The text was updated successfully, but these errors were encountered:
这一行是
$aAccess = curl_init();
我ubuntu18.04在
后可以了。但是这个不符合此前假设
的条件
list($headerstr,$sResponse)=explode("\r\n\r\n",$sResponse, 2);
报错,日志为:
用is_bool看了下,$sResponse是个bool值
The text was updated successfully, but these errors were encountered: