Re: Trouble with PHP3 MySQL
| From: | Rasmus Lerdorf | Date: | Thu, 22 Jun 2000 16:57:35 +0000 |
| Subject: | Re: Trouble with PHP3 MySQL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-2657@lists.php.net to get a copy of this message | ||
> Yes, I'm one of those people with annoying questions!
>
> I had installed the Apache 1.3 with PHP3 support package that's available
> on the ports tree for FreeBSD 3.4-STABLE. Orignally I was able to write
> code that worked well with my local MySQL server. Then I attemped to
> upgrade to PHP4, which for some wierd reason kept my apache server from
> starting. Upon downgrading back to PHP3 I am no longer able to get MySQL
> working again. I have attempted to completely reinstall Apache and the
> PHP3 module but I consistantly get:
>
> Fatal error: Call to unsupported or undefined function mysql_connect() in
> auth.htm on line 34
Your PHP installation does not include MySQL support. You need to
recompile PHP using --with-mysql
(I know nothing about the fbsd port - grab the PHP source tarball)
-Rasmus