ODBC support is built-into the Windows version of PHP.  You should be able
to simply create a DSN and connect to that.

For MySQL, make sure you uncomment the extension=mysql.dll in your php.ini
file and it should work just fine.

-Rasmus

On Tue, 14 May 2002, Nicole Amashta wrote:

> I have recently installed PHP 4.2 on a server running win2k. There is no
> SQL Server database running on this particular machine. I want to
> connect to an SQL Server DB on another machine on the same network.
>
> Now, do I need to have atleast the client tools installed in order to do
> this? Or, can I just setup an ODBC source? Because they (my coworkers)
> don't want to install SQLServer2k on the machine (running the PHP). (I
> have the php_mssql.dll enabled).
>
> Any suggestions to get around not having to install any additional files
> in order to connect to an SQLServer2k database?
>
> I notice I am also having trouble connecting to MySQL which is on the
> same machine as PHP4.2.  I have register globals on.
>
> I'm used to PHP 4.0.6. But I need to get up to speed with the last PHP.
> I just need to know if I am overlooking something in the PHP.ini file.
>
> Thanks in advance for any ideas!
>
> Nicole
> www.aeontrek.com
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to