PHP Fatal error: Call to undefined function mssql_connect() error popping out when connecting through MSSQL functions in Ubuntu server
Answer
In Ubuntu Just you need to install
php5-sybase
sudo apt-get install php5-sybase
That’s it.
Test with mssql_connect.
mssql_connect('Your IP','username','password','database');
You can verify this in PHP info file
Did this post help you?
Tutsplanet brings in-depth and easy tutorials to understand even for beginners. This takes a considerable amount of work. If this post helps you, please consider supporting us as a token of appreciation:
- Just want to thank us? Buy us a Coffee
- May be another day? Shop on Amazon using our links.
Your prices won't change but we get a small commission.
Leave a Reply