我已经使用var rule2 = {
conditions: [
new chrome.declarativeContent.PageStateMatcher({
pageUrl: { hostEquals: 'www.google.com', schemes: ['https'] },
css: ["input[type='password']"]
}),
new chrome.declarativeContent.PageStateMatcher({
css: ["video"]
})
],
actions: [ new chrome.declarativeContent.ShowPageAction() ]
};
chrome.runtime.onInstalled.addListener(function(details) {
chrome.declarativeContent.onPageChanged.removeRules(undefined, function() {
chrome.declarativeContent.onPageChanged.addRules([rule2]);
});
});
在ubuntu 16.04上安装了灯具堆栈,PHP正在运行,但apt-get install lamp-server
返回function_exists('mysql_connect')
。
有什么想法吗?
答案 0 :(得分:0)
mysql_connect
自PHP 5.5起已弃用,已在PHP 7中删除:http://php.net/manual/en/function.mysql-connect.php