error using php in zend debugger, call to undefined function: mssql_connect()

I have a php script that runns fine and gets data out of a MSSQL database table, but when I try to rn in in the zend debugger I get the error Call to undefined function: mssql_connect.

I have done some research on it and have made sure the extension is activiated in the php.ini file and have placed the php_mssql.dll in windows/system32 directory

Can anybody help?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

zend debugger uses its own php engine and its own php.ini file
to fix this, go to
C:\Program Files\Zend\ZendStudioClient-5.1.0\bin\php5\php.ini
add this line
now, create a folder c:\php5\ext
and store your dll there. please note that you should be using the very same version of dll that matches zend debugger php
to know that, run this php command in zend echo phpinfo(); and notice php version
download exct php version and use its dll
restart zend

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jb7811Author Commented:
I am using zend studio version 3.5.2 and the directory structure is as follows:
c:\Program Files\Zend\bin\php4
  in this directory I added the extension=php_mssql.dll to the php.ini file.
I am running PHP version 4.3.6 and it's directory structure is as follows:
  I added the \ext directory under C:\PHP, then copied php_mssql.dll into it.

then restarted zend debugger (it's a local version not client side server version) and I am still getting the same error.

you should know what php version is used by zend, regardless php installed on your machine and used the related dll of that php version.
you can install zend core on your machine or another machine and use debugging from server from within zend instead of using its internal debugger.
zend core comes bundeled with apache and php and is free.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.