>From all the errors I'm looking at the error is that the php3-mysql module is not talking to mysql, I can't tell if this is because php3-mysql Doesn't work with the version of mysql that is in woody, or what. Should I just download the php4 source and compile it manually?
Wayne -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Claus Divossen Sent: Tuesday, May 29, 2001 2:02 PM To: Wayne Sitton Cc: debian-user Subject: Re: woody+php3+php-nuke Wayne Sitton wrote: > > I had php-nuke up and running on Debian stable with php4. > > Because of another program I wanted to run, I had to upgrade to woody > > first it un-installed my php4, in dselect when I tried to re-install it > it complains about the version of apache-commons...?(why?) > so, I installed php3, but when I go to the website I get this error > > Fatal error: Call to unsupported or undefined function mysql_connect() in > mainfile.php on line 33 > > First I thought it may have to do with something else that upgraded, so I > un-installed php3, mysql, and php-nuke. I re-installed the 3 from scratch, > but I still get the error > > Fatal error: Call to unsupported or undefined function mysql_connect() in > mainfile.php on line 33 > > the section of mainfile.php is > > $mainfile = 1; > mysql_connect($dbhost, $dbuname, $dbpass); > @mysql_select_db("$dbname") or die ("Unable to select database"); > > I've checked username and password, and those are correct, the ddhost is set > to localhost. > > please help, before I pull my hair out! > > Wayne > Hi Wayne, Did you also install the php3-mysql package? It seems to be required for this. Regards Claus