You are here

Sql Server

Setup for running stored procedures and sql from php / ubuntu on sql server

Wiki Terms: 

1.)

sudo apt-get install php5-sybase

2.)

sudo /etc/init.d/apache2 restart

3.) Third you need to do this: (copied from the internet -- tested it and it works, it will allow you to run stored procs)

“Figured it out...

In researching the problem before posting I saw references to configuration changes needed to FreeTDS, but apparently I was implementing the change wrong, but that is the solution.

Run a query from php / ubuntu on sql server

(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:

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer