Re: php-mysql problem
| From: | Jianping Zhu | Date: | Thu, 13 May 2004 17:53:55 +0000 |
| Subject: | Re: php-mysql problem | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186126@lists.php.net to get a copy of this message | ||
Thank you for your response.
I get the php rpm distributed with redhat 9.0.
Do I have to recompile phd instead from source code with mysql support?
Thanks
On Thu, May 13, 2004 at 06:15:23PM +0200, Oliver Hankeln wrote:
> Hello,
>
> [snip]
>
> > but i got error message with:
> > http://coopunit.forestry.uga.edu:8080/testdb.php
> > the error is:
> > Fatal error: Call to undefined function:
> > mysql_connect() in /var/www/html/testdb.php on line 13
> >
> > How can Fix this problem? Thanks
>
> [/snip]
>
>
> Your PHP is compiled without mysql support (see
> http://coopunit.forestry.uga.edu:8080/test.php) You do however
> have dbx
> support. You might want to look at
> http://de.php.net/manual/de/ref.dbx.php
> Your mysql_connect has to be replaced by dbx_connect and so on...
> Alternativly you could recompile php with mysql support.
>
> HTH,
> Oliver Hankeln
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>