Wiki Terms:
(note to run stored procs on sql server from php/ubuntu there's another tech note I've posted)
http://jamesrossiter.wordpress.com/2011/03/08/connecting-to-microsoft-sq...
sudo apt-get install php5-sybase
sudo /etc/init.d/apache2 restart
now here is the php file that works: