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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.