Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

I've already put it in the extension_dir and the line "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?

share|improve this question

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.

share|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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .