How do I configure my Static/CGI/PHP-5.4 application with Microsoft SQL Server support, so I can use PHP's mssql extension to connect and retrieve data from a remote Microsoft SQL Server database? "mssql" is absent from my phpinfo() output currently. Thanks in advance. asked 21 Apr '15, 16:00 pixelatic |
For MS-SQL support, you'll need to build FreeTDS and PHP from source in your home directory, and then configure your Static/CGI/PHP-5.4 application to use your local version of PHP. Here are the commands you can run to build FreeTDS and PHP 5.4:
Once that's done, you then configure your app to use your local PHP installation instead of the system PHP installation:
Hope that helps! answered 21 Apr '15, 20:22 seanf |