Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am facing a problem with mssql_connect. I am using symfony1.1. mssql_connect working properly in actions. But I am getting " Call to undefined function mssql_connect()" when i call mssql_connect from symfony task. Any one please help me to solve this issue. Thanks in advance

Avinash

share|improve this question
    
Post your error.log files please. Also refer to these: phpfreaks.com/forums/index.php?topic=197064.0 –  U4iK_HaZe Sep 6 '11 at 4:39
add comment

1 Answer

Your php-cli binary is probably using another php.ini as your mod_php/php-cgi binary. Check the path with php -i | grep ini and add the mssql-extension.

share|improve this answer
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.