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.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st March 2007, 03:46
curiogeo curiogeo is offline
Junior Member
 
Join Date: Mar 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default MyDNS with MyDNSConfig Control Panel and DNSMasq on Ubuntu 6.10

After running through the tutorial I tried to log in to the myconfig interface and I was presented the following error.

Fatal error: Call to undefined function mysql_connect() in /usr/share/mydnsconfig/lib/classes/db_mysql.inc.php on line 75

I have tried to reinstall php5-mysqli using the aptitude method and it is a no go.

Has anyone else seen this error and can you direct me to a solution?
Reply With Quote
Sponsored Links
  #2  
Old 21st March 2007, 11:15
slapper slapper is offline
Junior Member
 
Join Date: Mar 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yep!!!

exactly the same problem here
here is the screen shot

any ideas??
Attached Images
 

Last edited by slapper; 21st March 2007 at 11:26.
Reply With Quote
  #3  
Old 21st March 2007, 16:47
curiogeo curiogeo is offline
Junior Member
 
Join Date: Mar 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Found it

It seems the /etc/php5/apache2/php.ini file needs to be updated for this tutorial to work.

Uncomment:
extension=mysql.so

This worked to eliminate the error for me.

Found this in the following post:
http://www.idealog.us/2005/01/howto_fix_fatal.html

Hope this helps you.

Hopefully the tutorial will be updated to mention this potential failure point.
Reply With Quote
  #4  
Old 21st March 2007, 17:49
slapper slapper is offline
Junior Member
 
Join Date: Mar 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

unfortunately the same problem

i had already uncomment extension=mysql.so
from some previously configurations..
Reply With Quote
  #5  
Old 22nd March 2007, 17:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Please install php5_mysql:
Code:
apt-get install php5_mysql
and restart Apache.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 22nd March 2007, 17:38
slapper slapper is offline
Junior Member
 
Join Date: Mar 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i have already install php5-mysql
but i remove it and install it again the same problem..

I will try to follow again the how to..
Is it possible to have problem because of the virtual hosts??
i have a symbolic link in /var/www/mainsite

mydnsconfig -> /usr/share/mydnsconfig/web/
but i don't thing is a problem..

Thanks o lot for the answer!!
Reply With Quote
Reply

Bookmarks

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


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


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