Re: MDB2 issue in loading PHP extension
| From: | Justin Patrin | Date: | Mon, 13 Nov 2006 15:59:04 +0000 |
| Subject: | Re: MDB2 issue in loading PHP extension | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-25800@lists.php.net to get a copy of this message | ||
On 11/12/06, Alain Roger <raf.news@gmail.com> wrote:
Hi, I'm still debugging the MDB2 issue that i have. in fact, my problem comes from : if (!PEAR::loadExtension($this->phptype)) {Perhaps you have safe_mode on and this is causing the problem? -- Justin Patrinreturn $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.