"John W. Holmes" <[EMAIL PROTECTED]> wrote on 05/03/2004 10:59:15 AM:
> From: "Chip Wiegand" <[EMAIL PROTECTED]> > > > I have a web server that uses mysql-4.1.0/apache-2.4.6/php-4.3.4 on > > freebsd-5.1. > > It has been working fine for the past few years, now all of a sudden today > > I get an undefined function error. This is from httpd-error.log - > > > > PHP Fatal error: Call to undefined function: mysql_connect() in > > /...<stuff> > > I know you say that "nothing changed" but something obviously has. It looks > like someone upgraded or reinstalled PHP but did not compile in MySQL > support. Take a look at a phpinfo() page and see if there is a MySQL > section. > > ---John Holmes... John, Yep, looking at phpinfo.php shows no support for mysql. This is very strange. I know these things don't just happen by themselves. I also know there are only two people with the password to the server, myself and my boss (and he knows nothing about the server to begin with). Anyway, looks like php needs to be configured to work with mysql. Now that it is the way it is, how do I go about that? According to pkg_info the version of php is 4.3.4_3. Being a port install how do I configure it to use mysql? Thanks, Chip -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]