[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: woody+php3+php-nuke



Yes is I installed php3-mysql 3.0.18-12

Wayne

-----Original Message-----
From: cd@t-online.de [mailto:cd@t-online.de]On 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



Reply to: