RE: [PHP] Why doesn't PHP see my MySQL upgrade?

2004-02-17 Thread Chris
That version number isn't the current version of MySQL PHP is running with,
it doesn't have one. PHP can be (and before 5.0 is by default) compiled with
MySQL client libraries so it is able to access MySQL databases.

The version of PHP you have installed was compiled with the 3.23.58 client
libraries. If it's really important to you that those version numbers match,
recompile PHP.

I don't think you'll have any problems.

Chris

 -Original Message-
 From: Donpro [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, February 17, 2004 8:26 AM
 To: php list
 Subject: [PHP] Why doesn't PHP see my MySQL upgrade?


 Hi,

 Just installed a new RedHat 7.3 system.

 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 ???

 Thanks,
 Don

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Why doesn't PHP see my MySQL upgrade?

2004-02-17 Thread David O'Brien
You are using built-in mysql support. It uses that version of the API
you would have to compile with your own version of mysql to change that number
-Dave
At 11:26 AM 2/17/2004, Donpro wrote:
Hi,

Just installed a new RedHat 7.3 system.

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 ???

Thanks,
Don
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


David G. O'Brien
Web Services Coordinator / Systems Administrator
NACCRRA
The Nation's Network of Child Care Resource  Referral
1319 F Street NW, Suite 500
Washington, DC 20004
(202) 393-5501 ext. 113
(202) 393-1109 fax
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Why doesn't PHP see my MySQL upgrade?

2004-02-17 Thread John W. Holmes
From: Donpro [EMAIL PROTECTED]

 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...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Why doesn't PHP see my MySQL upgrade?

2004-02-17 Thread Donpro
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:[EMAIL PROTECTED] 
 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 [EMAIL PROTECTED]
 
  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...
 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Why doesn't PHP see my MySQL upgrade?

2004-02-17 Thread Jason Wong
On Wednesday 18 February 2004 01:11, Donpro wrote:

 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???

Did you install MySQL-devel-4.0.X ?
Did you specify where the mysql files are to be found (most likely 
--with-mysql=/usr) ?

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
I base my fashion taste on what doesn't itch.
-- Gilda Radner
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php