Я действительно застрял, пытаясь исправить эти ошибки в Debian Wheezy.
mysql_connect(): Несоответствие заголовков и вспомогательной версии клиентской библиотеки. Заголовки: 50531 Библиотека: 50613 core.php в строке 317
Проблема возникла сегодня спустя некоторое время после обновления до php 5.4, загрузчиков ioncube 4.4.3, xcache 3.0.3 и percona 5.6.
До сих пор в моих попытках решить проблему, которую я пробовал...
- Удаление php (включая очистку установочных файлов)
- Понижение до php 5.3, а затем обновление обратно
- Возврат к percona 5.5 и обратное обновление
- Выгрузка заголовков ioncube
- Выгрузка xcache
Ничего не помогло к сожалению...
--
Строка 317 начинается с:
$link = $this->
/**
* Initialize database connection(s)
*
* Connects to the specified master database server, and also to the slave server if it is specified
*
* @param string Name of the database server - should be either 'localhost' or an IP address
* @param integer Port of the database server (usually 3306)
* @param string Username to connect to the database server
* @param string Password associated with the username for the database server
* @param boolean Whether or not to use persistent connections to the database server
* @param string Not applicable; config file for MySQLi only
* @param string Force connection character set (to prevent collation errors)
*
* @return boolean
*/
function db_connect($servername, $port, $username, $password, $usepconnect, $configfile = '', $charset = '')
{
if (function_exists('catch_db_error'))
{
set_error_handler('catch_db_error');
}
// catch_db_error will handle exiting, no infinite loop here
do
{
$link = $this->functions[$usepconnect ? 'pconnect' : 'connect']("$servername:$port", $username, $password);
}
while ($link == false AND $this->reporterror);
restore_error_handler();
if (!empty($charset))
{
if (function_exists('mysql_set_charset'))
{
mysql_set_charset($charset);
}
else
{
$this->sql = "SET NAMES $charset";
$this->execute_query(true, $link);
}
}
return $link;
}
mysql_*
для начала. эта ошибка является замаскированным благословением. - person itachi   schedule 10.10.2013