Re: [PHP-DB] mssql connecting

2007-05-25 Thread Sady Marcos
I also use PHP/SQL Server, but my server is the IIS.
To make the PHP to have access the SQL Server 2000 in the Windows 2003 
server, you he will need to install SP 4 of the SQL Server.

"David BERCOT" <[EMAIL PROTECTED]> escreveu na mensagem 
news:[EMAIL PROTECTED]
Hi,

Le Wed, 23 May 2007 14:37:58 -0400,
"Dan Shirah" <[EMAIL PROTECTED]> a écrit :
> Did you already try these steps?
>
> http://us2.php.net/manual/en/function.mssql-connect.php#70918

Hum, these steps are for PHP on IIS (i.e. Windows) (even if, later,
someone talks about Linux).
The question (I have almost the same) is for PHP on Linux !!!

David.

> On 5/23/07, Bryan <[EMAIL PROTECTED]> wrote:
> > I'm trying to connect to mssql 2000 on a windows server 2003
> > standard box using php v5.1.6/apache 2.2.2 fedora core 4 on a
> > separate box, of course. Any ideas?
> >
> > It just gives me the wonderful error: SQL error: [unixODBC][Driver
> > Manager]Data source name not found, and no default driver
> > specified, SQL state IM002 in SQLConnect in .
> >
> > I also have Plesk 8.1 on the linux box so if I need to recompile
> > php, would it break anything? I've installed freetds as well but
> > haven't recompiled php questioning the above.
> >
> > Thanks for any and all help... 

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



Re: [PHP-DB] mssql connecting

2007-05-23 Thread David BERCOT
Hi,

Le Wed, 23 May 2007 14:37:58 -0400,
"Dan Shirah" <[EMAIL PROTECTED]> a écrit :
> Did you already try these steps?
> 
> http://us2.php.net/manual/en/function.mssql-connect.php#70918

Hum, these steps are for PHP on IIS (i.e. Windows) (even if, later,
someone talks about Linux).
The question (I have almost the same) is for PHP on Linux !!!

David.

> On 5/23/07, Bryan <[EMAIL PROTECTED]> wrote:
> > I'm trying to connect to mssql 2000 on a windows server 2003
> > standard box using php v5.1.6/apache 2.2.2 fedora core 4 on a
> > separate box, of course. Any ideas?
> >
> > It just gives me the wonderful error: SQL error: [unixODBC][Driver
> > Manager]Data source name not found, and no default driver
> > specified, SQL state IM002 in SQLConnect in .
> >
> > I also have Plesk 8.1 on the linux box so if I need to recompile
> > php, would it break anything? I've installed freetds as well but
> > haven't recompiled php questioning the above.
> >
> > Thanks for any and all help...

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



Re: [PHP-DB] mssql connecting

2007-05-23 Thread Dan Shirah

Did you already try these steps?

http://us2.php.net/manual/en/function.mssql-connect.php#70918



On 5/23/07, Bryan <[EMAIL PROTECTED]> wrote:


I'm trying to connect to mssql 2000 on a windows server 2003 standard
box using php v5.1.6/apache 2.2.2 fedora core 4 on a separate box, of
course. Any ideas?

It just gives me the wonderful error: SQL error: [unixODBC][Driver
Manager]Data source name not found, and no default driver specified, SQL
state IM002 in SQLConnect in .

I also have Plesk 8.1 on the linux box so if I need to recompile php,
would it break anything? I've installed freetds as well but haven't
recompiled php questioning the above.

Thanks for any and all help...

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




[PHP-DB] mssql connecting

2007-05-23 Thread Bryan
I'm trying to connect to mssql 2000 on a windows server 2003 standard 
box using php v5.1.6/apache 2.2.2 fedora core 4 on a separate box, of 
course. Any ideas?


It just gives me the wonderful error: SQL error: [unixODBC][Driver 
Manager]Data source name not found, and no default driver specified, SQL 
state IM002 in SQLConnect in .


I also have Plesk 8.1 on the linux box so if I need to recompile php, 
would it break anything? I've installed freetds as well but haven't 
recompiled php questioning the above.


Thanks for any and all help...

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