Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

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.

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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