foreach(explode(" ", $cookie) as $value) {
$value = str_replace(array("[", "]"), array("%5B", "%5D"), preg_replace("/\s*;\s*$/s", "", $value));
$txt .= "document.cookie = \"{$value}\";\n";
}
$txt = urlencode($txt);
foreach ($arrayProxy as $proxy) {
$instance->setProxy($proxy['Ip'], $proxy['port']);
$instance->setOpt(CURLOPT_PROXYTYPE, $proxy['type']);
call to 0 with "https://httpbin.org/post" was unsuccessful.
error code: 7
error message: Couldn't connect to server: Failed to connect to 127.0.0.1 port 999: Connection refused
call to 0 with "https://httpbin.org/post" completed.
call to 1 with "https://httpbin.org/get" was unsuccessful.
error code: 7
error message: Couldn't connect to server: Failed to connect to 127.0.0.1 port 999: Connection refused
call to 1 with "https://httpbin.org/get" completed.
call to 2 with "https://httpbin.org/html" was unsuccessful.
error code: 7
error message: Couldn't connect to server: Failed to connect to 127.0.0.1 port 999: Connection refused
call to 2 with "https://httpbin.org/html" completed.
Да только дело в том, что Ubuntu физически не видит ваш нестандартный PCIe SSD диск.
Рецепт в приведённой ссылке и позволяет Ubuntu этот диск увидеть, а значит работать с ним.
P.S. В Ынтырнетах ещё есть совет в BIOS-е переключить SATA порт с диском из режима AHCI в режим RAID. Поищите в BIOS-е, может есть...?