I've been trying to install a PHP application (XPWeb) on an Apache2 box for some hours. The app fails to run, and I've tracked it down to this function:

	function _pconnect($argHostname, $argUsername, $argPassword, $argDatabasename)
{
if (ADODB_PHPVER >= 0x4300)
{
// This next function never returns
$this->_connectionID = mysql_pconnect($argHostname,$argUsername,$argPassword,$this->clientFlags);
echo("This never gets called");
}
else
$this->_connectionID = mysql_pconnect($argHostname,$argUsername,$argPassword);

if ($this->_connectionID === false) return false;
if ($this->autoRollback) $this->RollbackTrans();
if ($argDatabasename) return $this->SelectDB($argDatabasename);

return true;
}


The comments are mine. The mysql_pconnect() function enters but never returns. No error is generated, and nothing shows up in the PHP, Apache or MySQL logs. The data passed in to the function looks good, and I can connect to MySQL manually without a problem.

Is there something wierd with MySQL and PHP4 on Debian that I should know about?

Rob