For Programmers: Free Programming Magazines  


Home > Archive > PHP SQL > April 2004 > PHP and ms sql server









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author PHP and ms sql server

2004-04-14, 3:35 pm

I don't know how to connect to sql-server. my configuration is:

computer 1: running w2k server with sql-server installed
computer 2: running Windows XP prof with apache and php 4.3.5
php is installed in c:\php

I know i have to edit the php.ini file ( extension=php_mssql.dll )
and i copy the file ntwdblib.dll to folder c:\windows\system32 (computer 2)

all I get is the following: unable to load dynamic library './php_mssql.dll'

what else i have to do ?
tnx for helping


shivabharat

2004-04-15, 4:31 am

Are you sure you have the DLL in the right directory pointed in the
INI file?

You can try using the DSN-LESS connection .Refer tutorial section.

Knowledge --- Reading Enriches Mind But Sharing
Enhances It.
[color=darkred]
[b]Note: Before you request help enusre that you have had a look at
the http://www.phpfreaks.com/tutorial_index.php [/b][/color]

----------------------------------------
The post originated from PHP Freaks:
----------------------------------------
http://www.phpfreaks.com
http://www.phpfreaks.com/forums


Pierre Tremblay

2004-04-16, 10:31 am

You may need also to set the extension_dir value in the php.ini

<maxi@gibsy.net> wrote in message
news:407d8212$0$52437$45beb828@newscene.com...
> I don't know how to connect to sql-server. my configuration is:
>
> computer 1: running w2k server with sql-server installed
> computer 2: running Windows XP prof with apache and php 4.3.5
> php is installed in c:\php
>
> I know i have to edit the php.ini file ( extension=php_mssql.dll )
> and i copy the file ntwdblib.dll to folder c:\windows\system32 (computer

2)
>
> all I get is the following: unable to load dynamic library

'./php_mssql.dll'
>
> what else i have to do ?
> tnx for helping
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com