0

我正在运行 Red Hat Enterprise Linux 5(64 位),PHP 版本 5.3.3 配置为:

'./configure' '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib64' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-kerberos' '--enable-ucd-snmp-hack' '--enable-shmop' '--enable-calendar' '--without-sqlite' '--with-libxml-dir=/usr' '--enable-xml' '--with-system-tzdata' '--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter' '--without-sqlite3' '--disable-phar' '--disable-fileinfo' '--disable-json' '--without-pspell' '--disable-wddx' '--without-curl' '--disable-posix' '--disable-sysvmsg' '--disable-sysvshm' '--disable-sysvsem'

我想(需要)连接到另一台服务器上的 MS SQL 数据库。我曾尝试使用 mssql_connect 但得到“调用未定义函数 mssql_connect() in ...”

我正在为我的 MySQL 连接使用 Zend DB 框架并想使用它,我很累'adapter' => 'pdo_dblib''adapter' => 'pdo_mssql'但只是收到有关未安装驱动程序的错误。

'/usr/lib64/php/modules'我有:

curl.so, dom.so, fileinfo.so, gd.so, json.so, mbstring.so, mysqli.so, mysql.so, pdo.so, pdo_sqlite.so, phar.so, sqlite3.so, wddx.so, xmlreader.so, xmlwriter.so, xsl.so, zip.so

任何人都可以给我一些建议吗?我已尽力找到似乎是“启用此扩展程序”的答案……那些不存在的答案!

我有一种感觉,我需要使用 Yum 下载一些文件并更改我的存储库。

非常感谢,大卫

4

0 回答 0