MDB2 issue in loading PHP extension
| From: | Alain Roger | Date: | Sun, 12 Nov 2006 18:53:47 +0000 |
| Subject: | MDB2 issue in loading PHP extension | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-25789@lists.php.net to get a copy of this message | ||
Hi,
I'm still debugging the MDB2 issue that i have.
in fact, my problem comes from :
if (!PEAR::loadExtension($this->phptype)) {
return $this->raiseError(MDB2_ERROR_NOT_FOUND, null, null,
'extension '.$this->phptype.' is not compiled into PHP',
__FUNCTION__);
}from connect function located in MDB2. even if the extension php_pgsql.dll is loaded by php.ini, it seems that PEAR is not able to see it. Maybe creators of this package could track this bug or at least investigate with. Because when i control via phpinfo(), pgsql module is loaded normally... the proof is that i can use pgsql without PEAR on my web pages without problem. So i will investigate more, the PEAR::loadExtension($this->phptype) function because there is the mistake. Alain -- Alain ------------------------------------ Windows XP SP2 PostgreSQL 8.1.4 Apache 2.0.58 PHP 5