- memory_limit = 128M to your server's main php.ini file (recommended, if you have access)
- memory_limit = 128M to a php.ini file in the Drupal root
- ini_set('memory_limit', '128M'); in your sites/default/settings.php file
- php_value memory_limit 128M in your .htaccess file in the Drupal root
ภานุวัฒน์ หนูนคง's blog
This assumes you already have Apache2 and PHP5 set up properly on your system. My efforts to get this connection working were compiled from information found at www.unixodbc.org and www.freetds.org. These steps worked for me with an Apache2 web server with php5 running on Debian Etch stable in October of 2007. The SQL server is running Microsoft SQL 2005 on a Windows 2003 Server OS.