RE: [PHP] Why doesn't PHP see my MySQL upgrade?
| From: | Donpro | Date: | Tue, 17 Feb 2004 17:11:39 +0000 |
| Subject: | RE: [PHP] Why doesn't PHP see my MySQL upgrade? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-177981@lists.php.net to get a copy of this message | ||
Disaster!
After uphrading to MySQL 4.0.17, I uninstalled all the old PHP-4.1.2 RPMs
and recompiled PHP-4.3.4. Now I am getting compiling errors related to PHP.
/usr/local/php-4.3.4/ett/mysql/php_mysql.c:1158 undefined reference to
'mysql_create_db'
/usr/local/php-4.3.4/ett/mysql/php_mysql.c:1200 undefined reference to
'mysql_drop_db'
What next???
Shall I wipe out my PHP directory, install the Tarball and try compiling
from scratch?
> -----Original Message-----
> From: John W. Holmes [mailto:holmes072000@charter.net]
> Sent: Tuesday, February 17, 2004 11:46 AM
> To: Donpro; php list
> Subject: Re: [PHP] Why doesn't PHP see my MySQL upgrade?
>
>
> From: "Donpro" <donpro@lclnav.com>
>
> > 1. I upgraded to PHP 4.3.4
> > 2. I upgraded to MySQL 4.0.17
> > 3. Restarted Apache; I even rebooted!
> >
> > When I run phpinfo() in my web browser, it shows:
> >
> > Client API version: 3.23.58
> >
> > What's going on ???
>
> That's usual, as far as I can tell. That just means PHP is
> using the 3.23 version of the client to connect to the
> server. The server is still running 4.0.17, though. There
> shouldn't be any issues with this. I don't think you need new
> client versions until you get to MySQL 4.1 and higher.
>
> ---John Holmes...
>