This forum is no longer active. Please post your questions to our new community site
enable mssql php?
|
|
I have installed the mediawiki wamp stack – it all works great, and I’ve been using mysql for other things too. We also have MS SQL Server here, and I’d like to access that aw well. I have enabled php_mssql.dll in php.ini, but still get ‘Call to undefined function mssql_connect()’. Does php need to be compiled with —with-mssql[=DIR], as indicated on php.net? I suppose this means I need to get the source and replace the php that came from bitnami? Thanks |
|
|
Hi, This webpage could be helpful for you: http://userscape.com/helpdesk/index.php?pg=kb.p… Could you try to download the ntwdblib.dll library and copy in the < installdir >/apache2/bin folder? |
|
|
I did that but get the same message. Since phpinfo does not list mssql, I’m pretty sure support for it is not compiled in, but it would be nice if someone was able to confirm that before I jump through the hoops of setting up what is needed to recompile. thanks |
|
|
Hi, We can confirm that PHP is compiled with mssql support. Did you restart Apache once you copied the ntwdblib.dll? I have just tested it and MSSQL support appears in phpinfo. These are the steps I followed: 1. Install BitNami WAMPStack. Regards, Victoria. |
|
|
Sorry for the tardy reply – I’ve been away and only just got back to this. Thanks much! Mickey |
|
|
Hi! I have a similar problem. I have installed MAMP Stack on my Mac and i would also need the mssql module activated in php. I found a very nice explanation about how to compile the mssql on mac. But i did not get it to work on my Mac with Mac OS X 10.6. :-( First i got a couple of error messages while compiling the mssql module. But then i finaly got it to compile. The module is very small (about 4kb) and i get a error message when i add it to the php path and start the webserver. Maybe there is something i did wrong? To explain, the php version of trhe MAMP STACK is 5.2.10 and i used the same version of PHP to compile the mssql module. The URL of the description … The error message from apache … Is there any mssql module ready compiled or any more detailed description on how i gen get it into the MAMP Stack? |
|
|
Hi, It seems that the module is not correctly compiled. We will add to include the pre-compiled module in our TO DO list. |
|
|
Its now a long time since this tread was updated the last time. Is there any news on the MSSQL issue? Is there already a plan whan it will be included? Thanks! |
|
|
Sorry we are not currently shipping this module. We will try to post a guide in the Wiki to know how to install it manually. |

