Re: Plz help quick - mysql/php/web server undefined function all of a sudden
| From: | John W. Holmes | Date: | Mon, 03 May 2004 17:59:15 +0000 |
| Subject: | Re: Plz help quick - mysql/php/web server undefined function all of a sudden | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-185222@lists.php.net to get a copy of this message | ||
From: "Chip Wiegand" <chip.wiegand@simrad.com>
> 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...