[PHP-DB] Accessing MS SQL from Linux

2004-03-12 Thread S K Rana

My domain is hosting through a hosting company on Linux with PHP 4.3.4. 
Hosting company is not open to re-compile PHP for using FreeTDS or
any other application.

If I can not use FreeTDS, what other options do I have? 

a)  Can Pear be used? It is 4.3.4. I tried

 ?php required_once(DB.php)  ?

   but got error.

b) Can ADODB be used without re-compiling
PHP?

Any other option?

Thanks

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



Re: [PHP-DB] Accessing MS SQL from Linux

2004-03-12 Thread Frank M. Kromann
You need one ofe the folowing extensions compied as a shared or static
module:

ODBC (UnixODBC)
MSSQL (FreeTDS)
ODBTP

compiling as a shered module does not require recompile of PHP. You just
need to load the extension with dl() or from php.ini.

- Frank
 
 My domain is hosting through a hosting company on Linux with PHP 4.3.4.

 Hosting company is not open to re-compile PHP for using FreeTDS or
 any other application.
 
 If I can not use FreeTDS, what other options do I have? 
 
 a)  Can Pear be used? It is 4.3.4. I tried
 
  ?php required_once(DB.php)  ?
 
but got error.
 
 b) Can ADODB be used without re-compiling
 PHP?
 
 Any other option?
 
 Thanks
 
 -- 
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 

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



Re: [PHP-DB] Accessing MS SQL from Linux

2004-03-12 Thread Robert Twitty
Is the machine running SQL Server also hosted by the same company?  Is it
possible to use PHP on a Win32 machine so that you can use
the php_mssql.dll extension?

-- bob

On Fri, 12 Mar 2004, S K Rana wrote:


 My domain is hosting through a hosting company on Linux with PHP 4.3.4.
 Hosting company is not open to re-compile PHP for using FreeTDS or
 any other application.

 If I can not use FreeTDS, what other options do I have?

 a)  Can Pear be used? It is 4.3.4. I tried

  ?php required_once(DB.php)  ?

but got error.

 b) Can ADODB be used without re-compiling
 PHP?

 Any other option?

 Thanks

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



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