嘿所有我试图将我的php应用程序连接到interbase数据库,我得到以下错误
Fatal error: Call to undefined function ibase_connect() in C:\xampp\htdocs\Phase\includes\config.php on line 11
导致错误的行如下。
if(!ibase_connect($config['DBHost'] .":". $config['DBName'], $config['DBUser'], $config['DBPass'])) {
echo "Connection Error: ". ibase_errmsg();
我对php世界真的很新,有人可以解释我应该做什么。
更新
抱歉,如果有帮助,我忘了提及使用Windows 64位机器
当我执行get_loaded_extensions()函数时,我得到以下内容
[0] =>核心[1] => bcmath [2] => calendar [3] => com_dotnet [4] => ctype [5] => date [6] => ereg [7] => filter [8] => ftp [9] => hash [10] => iconv [11] => json [12] => mcrypt [13] => SPL [14] => odbc [15] => pcre [16] =>反思[17] => session [18] =>标准[19] => mysqlnd [20] => tokenizer [21] => zip [22] => zlib [23] => libxml [24] => dom [25] => PDO [26] => bz2 [27] => SimpleXML [28] => wddx [29] => xml [30] => xmlreader [31] => xmlwriter [32] => apache2handler [33] => Phar [34] => mbstring [35] => exif [36] => gd [37] => gettext [38] => imap [39] => mysql [40] => mysqli [41] => pdo_mysql [42] => PDO_ODBC [43] => pdo_sqlite [44] =>肥皂[45] =>套接字[46] => SQLite [47] => sqlite3 [48] => xmlrpc [49] => ming [50] => mhash) -
答案 0 :(得分:2)
你有enabled这个扩展吗?
是否在phpinfo()或get_loaded_extensions()中显示?
答案 1 :(得分:0)
正如我所见,您使用的是基于Windows的计算机。你检查过你的安装是否正确?您可以查看此地址:http://www.php.net/manual/en/ibase.installation.php
我怀疑有些DLL不存在。