引述 Richard Quadling <rquadling@xxxxxxxxxxxxxx>:
1 - Can you confirm that the ini file you are editing is the one that
is reported in phpinfo() as the file being used?
Yes, BUT there is no MSSQL info of it...
2 - At a command prompt, change directory to your PHP installation
and type ...
php -m
See if you have any errors being reported.
If the INI file is in an unusual location, then use ...
php -c <location_of_php.ini file> -m
T:\php5>php -c t:\php5\php.ini -m
PHP Warning: PHP Startup: Unable to load dynamic library
'T:\PHP5\ext\php_mssql
.dll' - The specified module could not be found.
in Unknown on line 0
[PHP Modules]
bcmath
calendar
com_dotnet
ctype
date
dom
filter
ftp
gd
hash
iconv
json
libxml
mbstring
mcrypt
mysql
odbc
pcre
Reflection
session
SimpleXML
SPL
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
zlib
[Zend Modules]
T:\php5\ext>dir php_mssql.dll
Volume in drive T is Data
Volume Serial Number is DC85-706F
Directory of T:\php5\ext
2009/12/16 下午 05:06 49,232 php_mssql.dll
1 File(s) 49,232 bytes
0 Dir(s) 52,215,365,632 bytes free
T:\php5\ext>
BTW : when running the cli of php -c t:\php5\php.ini -m, the system
prompt me there is no "MSVCR71.dll" found...
So, how can I install the dll file for test ( php -m ) again ?
Thanks !
Edward.
----------------------------------------------------------------
ITA Web Site : http://www.ita.org.mo
E-mail Address : ita@xxxxxxxxxx
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]