过去,我使用 MSSQL 函数设置了与 MSSQL 的连接。我有一个运行 php 5.5 的旧站点(客户端拒绝升级),遗憾的是功能丢失了(它可以工作但现在不行)
我尝试使用下面的脚本重新安装,但仍然无法让模块在执行时显示php -m
Download FreeTDS
Latest stable version can be found here http://www.ibiblio.org/pub/Linux/ALPHA/freetds/stable/ (
3. Configure and install FreeTDS
Uncompress and cd to the respective folder:
./configure --prefix=/usr/local/freetds
make
make install
4. PHP configuration
Edit the php configuration file.
"/usr/local/directadmin/custombuild/configure/ap2/configure.php55"
Add this line: "--with mssql=/usr/local/freetds\ "
Go to custombuild:
./build clean
./build php_expert 5.5 php-fpm
再次,当我这样做时php - m
,模块不显示
[root@... domains]# php -m
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
intl
json
libxml
mbstring
mcrypt
mhash
mysql
mysqli
mysqlnd
openssl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
Reflection
session
SimpleXML
soap
sockets
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter
xsl
zip
zlib
[Zend Modules]
[root@... domains]#
有什么建议么?