Apache2 Mysql和php7.0 function_exists('mysql_connect')返回false

时间:2016-08-06 01:57:54

标签: mysql apache2 php-7

我已经使用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')

有什么想法吗?

1 个答案:

答案 0 :(得分:0)

mysql_connect自PHP 5.5起已弃用,已在PHP 7中删除:http://php.net/manual/en/function.mysql-connect.php