Hi All!
My question is addressed for those familiar with FreeTDS and its usage with SugarCRM (Windows XP).
I've installed sugarcrm-5.0.0f with bundled SQL Server 2005 Express Edition, PHP 5.2, Apache 2.0.59 on a Windows XP box. I'm trying to configure FreeTDS driver as described in Sugar Community Edition Installation and Administration
Guide. I've done this:
1. Downloaded sugarcrm-MB-mssql.zip
2. Unpacked msvcr71.dll and ntdwblib.dll to windows/system32, apache2/bin directories
3. Copied freetds.conf to c:\ directory.
4. Edited c:\freetds.conf so it looks like this:
[global]
tds version = 7.0
initial block size = 512
swap broken dates = no
swap broken money = no
[host_name]
host = localhost,1433
instance = BITROCKMSSQL
port = 1433
client_charset = UTF-8
tds version = 7.0
dump file = c:\FreeTDS.log
debug flags = 0x4fff
5. Unpacked freedts\Drivers\5.2.x\php_dblib.dll from sugarcrm-MB-mssql.zip to php\ext directory
6. Launched php -f upgrade_mssql.php from command line, it worked ok (dropped and recreated tables)
7. Edited php.ini so it looks like this (excerpt)
....
;extension=php_mssql.dll
extension=php_dblib.dll
....
; Specify client character set.
; If empty or not set the client charset from freetds.comf is used
; This is only used when compiled with FreeTDS
mssql.charset = "utf-8"
...
8. Started Apache
9. When I try to open http://127.0.0.1/sugarcrm/index.php, I get message "Could not connect to server MYHOSTNAME as sa."
So, when I make this changes to php.ini:
....
extension=php_mssql.dll
; extension=php_dblib.dll
....
SugarCRM loads ok, but, I guess, FreeTDS doesn't work this time.
Tried also to make changes to c:\freetds.conf:
...
host = localhost
...
but that didin't help.
What have | done wrong?


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks