views:

33

answers:

2

Installing roundcube webmail: I have the DB set up (win serv 2008, MS SQL 2008 - though even that was a battle!) i can navigate to the installer but when I go to set up everything there is no SQL Server option in the list of DBs?

Anyone got any idea what thats all about? I can see MySql, MySqli and PgSql but no MSSQL

cheers

A: 

Make sure you've activated the MSSQL extension in your php.ini. I don't know this script, but often installers first detect which database extensions are available and let you only use these.

So find your php.ini and search it for something like this:

extension=msql.dll

If you can't find the line, add it to the file (maybe restart your webserver) and try again.

svens
yeah - i have that - do i need to download the dll or something? i've even restarted the server - nothign...
cvista
I think it's part of the default package, so if PHP doesn't complain about it, it's probably there. Maybe check `phpinfo()` too, to see if it's really loaded. Haven't got any other ideas, sorry.
svens
http://mail.projectattack.co.uk/test.php
cvista
The MSSQL extension isn't loaded. Make sure there's no `;` in front of the line mentioned in the answer (just to be sure :). I never installed PHP on Win, but on Linux there are seperate php.inis for CGI and CLI mode, are you sure you've picked the right one?
svens
def no semicolon and there seems to be only one .ini? hectic central :)
cvista
It's not loaded. You could try the Microsoft MSSQL driver too, although that's another set of functions than the "regular" mssql functions in PHP. Check out: http://msdn.microsoft.com/en-us/sqlserver/cc299381.aspx - http://msdn.microsoft.com/en-us/library/cc296203%28SQL.90%29.aspx But that's just a wild guess, you're on your own now.
svens
A: 

It's because Roundcube Installer doesn't detect MSSQL, but you can install/run it without Installer.

alec
I've changed the DB to now use MySql but it's still not working!! aarrgghh!!
cvista