![]() |
CI 3 won't connect to MSSQL 2012 database under php 5.6 on Rackspace - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: Issues (https://forum.codeigniter.com/forumdisplay.php?fid=19) +--- Thread: CI 3 won't connect to MSSQL 2012 database under php 5.6 on Rackspace (/showthread.php?tid=62806) |
CI 3 won't connect to MSSQL 2012 database under php 5.6 on Rackspace - junosapien - 08-28-2015 Our site is on Rackspace cloud sites and is currently running fine with Codeigniter 3.0.0 on PHP 5.4.1.0 and connecting to a MSSQL 2012 database. Rackspace is in the process of upgrading PHP from 5.4.1.0 to 5.6.7-1 and has given testlinks for testing our websites in the new PHP environment. In this test environment, the site does not connect to the MSSQL database. However - no errors are thrown (that I can find, anyway!) This is what I have for my database configuration: PHP Code: $db['default'] = array( As a test, Rackspace also had me write a test controller. This works in Codeigniter: PHP Code: $username = "USERNAME"; Any clues why the standard Codigniter database connection is not working? RE: CI 3 won't connect to MSSQL 2012 database under php 5.6 on Rackspace - junosapien - 08-28-2015 It turns out that this was a Rackspace issue and it has been corrected. Problem solved. |