chrisscicluna 0 Newbie Poster

Hi i am trying to connect to an SQL Server using mssql_connect, the problem is that it is giving me a fatal error.

I ran a script to see if the mssql functions are installed and seems like they do not exist. I read around and seems like i have to mess with the php.ini file.

Problem is that i cannot change the default php.ini file so i have to create a custom one.

I am using midphase hosting. The code i am using to overide the default settings is the following:

extension_dir = "php_mssql.dll"
extension=php_mssql.dll 

when running php info it is reading the custon php.ini the problem is that the functions still do not exist and its giving me a fatal error.

Any help please? Thanks!!!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.