Fedora 23 KDE 安装 VMware 12.1 启动报错解决

启动时报错:
(vmware-modconfig:21592): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“adwaita”,

(vmware-modconfig:21592): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“adwaita”,
/usr/share/themes/Adwaita/gtk-2.0/gtkrc:1163: error: unexpected identifier `direction', expected character `}'
/usr/share/themes/Adwaita/gtk-2.0/gtkrc:1163: error: unexpected identifier `direction', expected character `}'
解决方法:
su root
cd /usr/lib/vmware/lib
for mylib in $(ls /usr/lib64/*4600*); do /bin/cp -afv $mylib $(basename $mylib .4600.2 )/$(basename $mylib .4600.2 ); done

php httpproxy

$length) {
$end = $length;
}

for ($i = $start; $i < $end; $i++) { $options = array( CURLOPT_RETURNTRANSFER => true, // return web page
CURLOPT_HEADER => true, // return headers
CURLOPT_FOLLOWLOCATION => false, // follow redirects
CURLOPT_USERAGENT => $sUserAgent, // who am i
CURLOPT_AUTOREFERER => true, // set referer on redirect
CURLOPT_CONNECTTIMEOUT => 120, // timeout on connect
CURLOPT_SSL_VERIFYHOST => false,
CURLOPT_SSL_VERIFYPEER => false, // Disabled SSL Cert checks
CURLOPT_TIMEOUT => 5, // timeout on response
CURLOPT_REFERER => $reffer,
CURLOPT_PROXY => $proxyList[$i],
);

//Raw CURL Start
$ch = curl_init($url);
curl_setopt_array($ch, $options);
$content = curl_exec($ch);
$err = curl_errno($ch);
$errmsg = curl_error($ch);
$header = curl_getinfo($ch);
curl_close($ch);
$header[‘errno’] = $err;
$header[‘errmsg’] = $errmsg;
$header[‘content’] = $content;
//Raw CURL End

if ($header[‘http_code’] == 200) {
//转换为UTF-8编码
$htmlContentUtf8 = mb_convert_encoding($content, ‘utf-8’, ‘gbk’);
if (preg_match(‘/信息服务平台/iU’, $htmlContentUtf8)) {
echo ‘”‘ . $proxyList[$i] . “\”,\n”;
} else {
var_dump($content);
}
//var_dump($header);
//exit();
} else {
//var_dump($header);
}
}

echo ($end – $start) . ” test done.\n”;

http://pachong.org/transparent.html
http://www.66ip.cn/pt.html
http://www.kuaidaili.com/free/intr/
http://proxy.mimvp.com/free.php