You are here: Re: Connection to MS SQL Server has stopped working « PHP Programming Language « IT news, forums, messages
Re: Connection to MS SQL Server has stopped working

Posted by sank.hate.spam on 04/19/07 17:51

On Apr 19, 12:59 pm, "Steve" <no....@example.com> wrote:
> look up mssql_connect and look at the requirements. it must either be
> compiled into php or enabled as a dll (which is set in your php.ini...and
> must reside in your include_path).

I've been search for hours and have come up with nothing that works.
I have done the following:

- uncommented the extension=php_mssql.dll
- made sure my ext directory path was correct
- copied ntwdlib.dll to both my system32 and PHP directory
- PHP is in my system path
- PHPRC has been setup as an environment variable
- MSVCR71.DLL has been copied to my PHP dir (supposedly ntwdlib.dll
relies on it)

I also added the following bit of code to the top of the page:

if(extension_loaded("mssql")) {
echo "MSSQL is Loaded<br />";
}
else {
echo "MSSQL not loaded<br />";
}

When you load the page, it now says "MSSQL not loaded"

Just for an update, PHP is installed on a new Windows Server 2003 R2
Standard Edition box with IIS and I'm trying to connect to an older
server running Microsoft SQL Server 6.5.

Thanks,
Jason

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация