Click to See Complete Forum and Search --> : mysql commands don't work


vicent
03-22-2001, 10:10 AM
Hi everybody.
I've installed apache, php3 and mysql in a debian machine. I used the 'apt' command. The packages I installed are apache, php3, mysql-server, mysql-client and php3-mysql. I uncommented the 'loadmodule php3_module...' and 'addtype application...php3' lines in httpd.conf and srm.conf. Mysql works perfectly but not the commands from php (mysql_connect,mysql_query...).
It returns 'Call to unsupported or undefined function...'.

Can anyone help me?

Thanks a lot.

chadm
03-26-2001, 04:06 PM
Hey there, did you apt-get php3-mysql? That loads the extension module (mysql.so). You should check and make sure that it appended extension=mysql.so at the end of your php3.ini file.