Hi everyone,
I have what seems to be a common problem but none of the fixes either work or are up to date.
I am used to a lamp set up, but for this job it has to be IIS with php and mysql. So in setting up my local machine i have IIS running and parsing PHP no problem.
But even though mysql is there and running, and i have made the documented changes in the php.ini i get the following
Call to undefined function mysql_connect()
I am
$dbcnx = mysql_connect('localhost') or die(mysql_error());
====
I have copied the libmysql.dll to my windows/system32 folder. My extention path is in the php.ini and i have ensured that both C:/php5/ext and mysql path is in my system path.
I cannot think what else to try, all code is downloaded from the proper sites (e.g. php.net and mysql.com) and i am on xp sp2.
Any suggestions..... please.
I have what seems to be a common problem but none of the fixes either work or are up to date.
I am used to a lamp set up, but for this job it has to be IIS with php and mysql. So in setting up my local machine i have IIS running and parsing PHP no problem.
But even though mysql is there and running, and i have made the documented changes in the php.ini i get the following
Call to undefined function mysql_connect()
I am
$dbcnx = mysql_connect('localhost') or die(mysql_error());
====
I have copied the libmysql.dll to my windows/system32 folder. My extention path is in the php.ini and i have ensured that both C:/php5/ext and mysql path is in my system path.
I cannot think what else to try, all code is downloaded from the proper sites (e.g. php.net and mysql.com) and i am on xp sp2.
Any suggestions..... please.