Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 9th September 2010, 03:19
dxh dxh is offline
Junior Member
Join Date: Nov 2009
Posts: 14
Thanks: 5
Thanked 0 Times in 0 Posts
Default Perfect Server ubuntu 10.04 issue

Hello. I have set up a server following this how to, and I am having an issue with a php script. I get this error when I run the script:

PHP Fatal error: call to undefined function odbc_connect

I installed the freetds and unixodbc items, but I still get the same error.
This is trying to access my MSSQL db

I am pretty weak with php so any help is great.


Last edited by dxh; 9th September 2010 at 03:28.
Reply With Quote
Sponsored Links
Old 9th September 2010, 11:37
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts

Looks as if the php odbc module is not installed or not loaded. To install it, run:

apt-get install php5-odbc

and then restart the apache webserver.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
dxh (15th September 2010)
Old 15th September 2010, 20:18
dxh dxh is offline
Junior Member
Join Date: Nov 2009
Posts: 14
Thanks: 5
Thanked 0 Times in 0 Posts

Thanks Till. That did the trick.

I noticed that when I run this script from the default profile it works, but when I run it from a client vhost it does not. I think this is an issue of what PHP is allowed to do for that vhost? Why would it work in the default site, but not under client sites I create?
Just curious if you have any suggestions.
Thanks again, your solution got me running.
Reply With Quote


ispconfig 3, php, ubuntu 10.04

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu Server, postfix, gmail relay sjau Server Operation 3 14th December 2010 19:20
The Perfect Server - Ubuntu 10.04 [ISPConfig 3] YbeddyJ HOWTO-Related Questions 11 7th October 2010 16:15
The Perfect Server - Ubuntu Lucid Lynx (Ubuntu 10.04) [ISPConfig 2] - Install Samba donbzm2 HOWTO-Related Questions 1 16th July 2010 07:53
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 17:59
Howtoforge the perfect Server(links) rini90 Installation/Configuration 0 14th December 2008 11:58

All times are GMT +2. The time now is 15:05.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.