I want to add mssql.so extension to my php..

I've already put it in the extension_dir and the ligne "extension=mssql.so" is in my php.ini... I restarted apache but I can't find the extension in phpinfo(); ...

Historically, there are NO other extensions for php... (It was a rule in my company but I have to change that...)

Is there something in the httpd.conf or in php.ini that I have to change? Or a setting to be done?

Thanks for reading my question :)

link|improve this question

0% accept rate
feedback

1 Answer

Does anything obvious pop out in apache's error.log?

The comments at the php.net page on mssql seem to indicate a dependency on unixODBC; do you have that package loaded? Or, if you're in Win32, the latest MDAC.

link|improve this answer
Thanks for your answer! Yes, I can see the line: "PHP Fatal error: Call to undefined function mssql_connect()", I could guess that there would be such an output... unixODBC isn't loaded, the tutorial I followed doesn't mention it (dotvoid.com/2010/01/…)... I have to check why the extension is not loaded... – blind Apr 4 '11 at 11:36
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.