M
M
Mr. Abdu Jan2013-11-14 09:09:43
PHP
Mr. Abdu Jan, 2013-11-14 09:09:43

Fatal error: Call to undefined function mssql_connect()?

Hello everyone,
Yesterday I reinstalled the computer, installed Apache, copied the PHP folder, installed SQL Server management studio, well, as usual after reinstallation.
In php.ini, everything related to PDO_MSSQL and mssql is uncommented.
But it still shows this error. Fatal error: Call to undefined function mssql_connect()
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
B
bahek2462774, 2013-11-14
@bahek2462774

see phpinfo().

It happens that php.ini is in the wrong place, phpinfo will show where it should be in order for the settings to be picked up.

R
Rpsl, 2013-11-14
@Rpsl

What does phpinfo() say about mssql?

Apparently they forgot to install the php module which is responsible for contact with mssql.

For linux systems, this is http://www.freetds.org/ , for windows, apparently this one .

L
lubezniy, 2013-11-14
@lubezniy

And the loading of the extension module itself is registered? Is the module file physically in place?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question