Reputation: 53
I am trying to make a connection between PHP and a SQL server's database. I'm running XAMPP, and I deleted the ;
from extension=php_mssql.dll
to enable the PHP extension by modifying the php.ini
file.
When I run my script, however, PHP throws an error that says the function mssql_connect()
doesn't exist.
What can I do to fix this?
Upvotes: 0
Views: 794
Reputation: 410
As a general approach:
In the php.ini is an option
display_startup_errors = Off
Set that to On and call PHP (maybe from console). It should tell you what went wrong then.
Upvotes: 0
Reputation: 2941
So far xampp comes with MySQL and have not include Microsoft SQL Server (MSSQL)
Upvotes: 1