Please start any new threads on our new 
    site at https://forums.sqlteam.com.  We've got lots of great SQL Server
    experts to answer whatever question you can come up with.
    
        
            
                
                    
                        
                            
                                | Author | 
                                
                                 Topic  | 
                             
                            
                                    | 
                                         Mallen 
                                        Starting Member 
                                         
                                        
                                        27 Posts  | 
                                        
                                        
                                            
                                            
                                             Posted - 2011-04-04 : 18:07:50
                                            
  | 
                                             
                                            
                                            | I am trying to get mssql to work in php.  I am running Windows Server 2008, PHP 5.3, IIS 7, AND MSSQL Server 2008. I have php5.dll.I downloaded and installed the latest php_sqlsrv_53_nts_vc6.dll and php_pdo_sqlsrv_53_nts_vc6.dll package.  I modified my php.ini to include extension=php_sqlsrv_53_nts_vc6.dll and extension=php_pdo_sqlsrv_53_nts_vc6.dll and then restarted the IIS server.When I run php -v I get the error:PHP Warning: PHP Startup: Unable to load dynamic libarary 'C:\php\php_sqlsrv_53_nts_vc6.dll' - The specified module could not be found.  in Unknown on line 0.PHP Warning: PHP Startup: Unable to load dynamic libarary 'C:\php\php_pdo_sqlsrv_53_nts_vc6.dll' - The specified module could not be found.  in Unknown on line 0.I can see both files I am calling in my c:php\ext folder and I have the folder permissions set to everyone\everything.When I try to connect in php I get the error "Call to undefined function sqlsrv_connect() in C:\inetpub\wwwroot\mysqltest.php on line 3I have been trying to get this to work for about 5 hours. PLEASE PLEASE does anyone have ANY ideas? | 
                                             
                                         
                                     | 
                             
       
                            
                       
                          
                            
                                    | 
                                     tkizer 
                                    Almighty SQL Goddess 
                                     
                                    
                                    38200 Posts  | 
                                    
                                      
                                     | 
                                   
                            
                       
                          
                            
                                    | 
                                     russell 
                                    Pyro-ma-ni-yak 
                                     
                                    
                                    5072 Posts  | 
                                    
                                      
                                        
                                          
                                           
                                            Posted - 2011-04-04 : 22:22:38
                                          
  | 
                                         
                                        
                                          | No, that's a MSSQL one...well, really it's a PHP config question.Mallen, what happens if you try mssql_connect()?Might have a look at PHP.net for better help -- as Tara says, we focus on SQL Server here, and yours is more a PHP question.Might look at this too.  | 
                                         
                                        
                                            | 
                                         
                                       
                                     | 
                                   
                            
                       
                          
                            
                                    | 
                                     tkizer 
                                    Almighty SQL Goddess 
                                     
                                    
                                    38200 Posts  | 
                                    
                                      
                                     | 
                                   
                            
                            
                                | 
                                    
                                      
                                     
                                    
                                 | 
                             
                         
                     | 
                 
             
         |