2
i'm using easyphp 1.8 (Apache 1.3.33, PHP 4.3.10, MySQL 4.1.9) & MSSQL server running on localhost
i modified php.ini to enable mssql dll extension
then restarted php server
copied all tables and contents from MySQL to mssql
using modified mysqldatabase.php to launch mssql functions through mssql dll
mainfile.php follows:
[...]
define('XOOPS_DB_TYPE', 'mysql'); // mssql calls from MySQL old file
define('XOOPS_DB_PREFIX', 'xoops');
define('XOOPS_DB_HOST', 'localhost,1433'); // not sure!
define('XOOPS_DB_USER', 'sa');
define('XOOPS_DB_PASS', '');
define('XOOPS_DB_NAME', 'xump');
define('XOOPS_DB_PCONNECT', 0);
[...]
and i got:
Error [Xoops]: Unable to connect to database in file c:\program files\easyphp1-8\www\xump\class\database\databasefactory.php line 34