Mssql cannot be called in linux.

Source: Internet
Author: User
In linux, you cannot call mssql. if you have not installed sqlserver on the PHP5.1LINUX system server, you only need to access the mssql database of other servers. php has been enabled. extension = php_mssql.dll of ini. After apache is restarted, the system prompts "Call & linux". you cannot Call mssql.
PHP5.1
LINUX

SQL Server is not installed on the server. you only need to access the mssql database of other servers,
Extension = php_mssql.dll of php. ini has been enabled. After apache is restarted
Call to undefined function mssql_connect () is displayed ()

What can I do? thank you! Share:
------ Solution --------------------
Isn't linux compiled?
------ Solution --------------------
Check whether this module is available! It is useless to enable it. some modules need to be downloaded.
------ Solution --------------------
It is useless to enable the extension in linux. you also need to install another component.
It is not recommended to access mssql.
------ Solution --------------------
Reference:
PHP5.1
LINUX

SQL Server is not installed on the server. you only need to access the mssql database of other servers,
Extension = php_mssql.dll of php. ini has been enabled. After apache is restarted
Call to undefined function mssql_connect () is displayed ()

What can I do? thank you!


Does PHP in LINUX have extension = php_mssql.dll?
------ Solution --------------------
Extension = php_mssql.so.
------ Solution --------------------
Generally, FreeTDS is required.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.