Install the MSSQL module for PHP on CentOS 5
Unfortunately there is no pre-built module/extension for MSSQL for PHP in the Yum repositories for CentOS 5, so you need to build it yourself. It’s a reasonably simple process, but you do need to have gcc and php-devel packages already installed (and a whole bunch of others which I’ll list at the end of this post).