http://ubuntuforums.org/showthread.php?t=350269#post_thanks_box_2087818
http://panthar.org/2006/06/15/php-with-mssql-on-ubuntu-606/
Install the Debian Package tools:
Code:
apt-get install build-essential debhelper
Code:
apt-get source php5
Code:
apt-get build-dep php5
Code:
mysql MySQL
Code:
mssql MSSQL
Code:
–with-mysql=shared,/usr
Code:
–with-mssql=shared,/usr
Code:
Package: php5-mssql
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, ${php:Depends}, php5-common (= ${Source-Version})
Description: MSSQL module for php5
This package provides a module for MSSQL using FreeTDS.
.
PHP5 is an HTML-embedded scripting language. Much of its syntax is borrowed
from C, Java and Perl with a couple of unique PHP-specific features thrown
in. The goal of the language is to allow web developers to write
dynamically generated pages quickly.
Code:
cd ..
Code:
dpkg-buildpackage
When that is finished, cd to the parent directory and you will see your deb files.
Now, to install php5-mssql:
Code:
dpkg -i php5-mssql_5.1.6-1ubuntu2.1_i386.deb