Re: Fatal error: Call to undefined function: mysql_conne ct() ......
| From: | (Michael Mauch) | Date: | Mon, 14 Oct 2002 21:11:36 +0000 |
| Subject: | Re: Fatal error: Call to undefined function: mysql_conne ct() ...... | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-22392@lists.php.net to get a copy of this message | ||
Bhavin Vyas <Bhavin.Vyas@247realmedia.com> wrote:
> I am using "mysq". I tried to re-install using rpm, but didn't work. Will
> need to recompile. However, now, I am getting "Mysql not loaded". My feeling
> is that there must be a simple way to load this module, just don't know how
> :-(
You have to use
extension=mysql.so
in your php.ini, and make sure that the extension_dir is set to the
right directory (try "locate mysql.so" to find it). Stop and restart
Apache, then your mysql module should be available.
Regards...
Michael