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?
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.
unfortunately the same problem i had already uncomment extension=mysql.so from some previously configurations..
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!!
Then make sure you have Code: extension=mysql.so in your php.ini. Don't forget to restart Apache. Create a PHP script like this: PHP: <?phpphpinfo();?> and call it in your browser. Do you see MySQL support in the output?
yes mysql support is ok from the output moreover i already run successful jinzora , gallery2, cmsmadesimple and postfix with virtual users. i will try to reinstall mydns and i will come back