Jump to content

SQL Server Error


Recommended Posts

Hello,

 

I have reciently inherited a web application at my new job. I do not know PHP, yet. We recieved a web based application from a client and I have been instructed to install it and get it up and running.

I am to maintain it as well. I love trial by fire. The app uses both asp and PHP. Is that normal? would think a site would use one or the other. Any way I have gotten the asp parts working. But am having problems with the PHP SQL Server connection.

 

OS Windows Server 2003

IIS

SQL Server 2000

 

I have

checked the PHP.ini file

it is in the correct spot

extension=php_mssql.dll is uncommented

the dll exists

Plus I have checked a bunch of other things after googling the net.

 

but I still get this error:

Fatal error: Call to undefined function mssql_pconnect()

 

Are there any other things I can check/do.

 

Thank you in advance for your help.

 

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/102132-sql-server-error/
Share on other sites

  • 1 month later...

What version of PHP are you using?  I had a similar issue with 5.2.6.  The dlls were present and un-remarked in the php.ini file, but I was still getting the undefined function error.  5.2.6 also slowed my computer way down to a crawl for some reason. 

 

I ended up uninstalling 5.2.6 and putting version 5.1.4 on my pc (already using 5.1.4 on another pc) and everything works fine.  You may want to try another version of PHP?

Link to comment
https://forums.phpfreaks.com/topic/102132-sql-server-error/#findComment-557584
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.