Page 1 of 1
Call to undefined function: mysql_connect()
Posted: Wed Dec 22, 2004 11:17 pm
by gun
Hi,
the following error occurs when going to step3 of the installation wizard:
Code: Select all
Fatal error: Call to undefined function: mysql_connect() in /var/www/cmsmadesimple-0.7.3/adodb/drivers/adodb-mysql.inc.php on line 338
any ideas?
Connecting to mysql via MySQLFront and Webmin works in general
regards Gunnar
Call to undefined function: mysql_connect()
Posted: Wed Dec 22, 2004 11:20 pm
by Ted
I would guess that the mysql modules aren't installed. If it's linux/unix, there is generally a php-mysql package or something similar that you need to install to enable that functionality. If it's windows, then you might have to wait for someone else to help.

Call to undefined function: mysql_connect()
Posted: Thu Dec 23, 2004 12:37 am
by gun
thanks for the fast reply,
but it is debian-linux and there is php4-mysql 4.3.10-2 installed.
still any ideas?
cu
Gunnar
Call to undefined function: mysql_connect()
Posted: Thu Dec 23, 2004 12:45 am
by Ted
Look in /etc/php4/apache2/php.ini and search for extension=mysql.so. Make sure it's not commented out (has a ; in front of it). If so, take out the ; and restart apache.
Call to undefined function: mysql_connect()
Posted: Thu Dec 23, 2004 4:08 pm
by gun
thats it!
so... i'm new to php, there will more stupid questions coming soon
thanks
Gunnar
Call to undefined function: mysql_connect()
Posted: Thu Dec 23, 2004 4:11 pm
by Ted
Bring 'em on!
