Php configuration mssql problems recently use php and sqlsever configuration, follow instructions to configure php
1. open php. in and remove the annotation symbol of extension = php_mssql.dll.
2. open php. in and change mssql. secure_connection = Off to on.
3. copy php_mssql.dll to the directory specified by extension_dir in php. in or the system32 directory of the system. (Php_mssql.dll is included in the php compression installation package ).
After completing the preceding steps, restart apache.
Note: in actual use, if php is manually installed under iis through the php compressed file, the machine must be restarted, not just iis.
4. ensure that ntwdblib. dll is available in php or system32, and check the attribute to make sure that the version is 8.00.194 instead of 7. 0 ......
But it still doesn't work. I am using the phpnow integrated environment. I tested it locally and found that the error Fatal error: Call to undefined function mssql_connect () was reported, do you know how to configure it?
Reply to discussion (solution)
Php5.3 is a watershed with different support for mssql
Let's talk about the php version.
Php5.3 is a watershed with different support for mssql
Let's talk about the php version.
My php version is 5.2.14
I checked sqlsrv on the Internet and used this instead. but I don't know what drivers are there !!!
Who has php_sqlsrv.dll and php_sqlsrv_ts.dll. I have been searching for N for a long time on the Internet ....
You can download the integration environment wamp, which has many ext folders. dll file. I used to directly use its built-in dll file when using this combination, instead of downloading it separately on the Internet.
I also reported this error, but the php. ini file cannot be opened.
I also reported this error, but the php. ini file cannot be opened.
Sorry, there is no way to modify it.