Re: [PHP] Re: URGENT HELP NEEDED - After Upgrade to MySQL 4.0.1.2

2003-02-13 Thread Marek Kilimajer
try
ldd /usr/lib/php4/mysql.so

Vernon wrote:


I think the point is here that I can connect with a MySQL client, so MySQL
is running.

I cannot however connect using PHP. What would cause this?




 



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




Re: [PHP] Re: URGENT HELP NEEDED - After Upgrade to MySQL 4.0.1.2

2003-02-13 Thread Vernon
I'm sorry I have no idea what that means.

Marek Kilimajer [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 try
 ldd /usr/lib/php4/mysql.so



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




Re: [PHP] Re: URGENT HELP NEEDED - After Upgrade to MySQL 4.0.1.2

2003-02-13 Thread Marek Kilimajer
Sorry, this is a shell command, you need to log in to your server. Also 
I'm not sure about the path, it could be different on your system. This 
command should print you something like

   libmysqlclient.so.10 = /usr/lib/mysql/libmysqlclient.so.10 
(0x4000b000)
   libc.so.6 = /lib/i686/libc.so.6 (0x40048000)
   libz.so.1 = /usr/lib/libz.so.1 (0x40184000)
   libcrypt.so.1 = /lib/libcrypt.so.1 (0x40192000)
   libnsl.so.1 = /lib/libnsl.so.1 (0x401bf000)
   libm.so.6 = /lib/i686/libm.so.6 (0x401d6000)
   /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)

It's important that libmysqlclient.so.* points to the right library,
rpm -qf /usr/lib/mysql/libmysqlclient.so.YOUR_VERSION
should print you
mysql-4.0.1.2-*


Vernon wrote:

I'm sorry I have no idea what that means.

Marek Kilimajer [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 

try
ldd /usr/lib/php4/mysql.so
   




 



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




Re: [PHP] Re: URGENT HELP NEEDED - After Upgrade to MySQL 4.0.1.2

2003-02-13 Thread Francesco Leonetti
it happened to me something pretty similar when I upgraded to mysql
3.23.54a.
While solving the problem, I suggest to uninstall mysql 4.0.1 and reinstall
your previous working version (unless there's a real urge to upgrade to
4.0.1) and then try to upgrade to a devoloper server reinstalling not only
mysql but also php and apache. I succeeded doing that way.

Hope this helps, good luck.



- Original Message -
From: Vernon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 13, 2003 2:36 PM
Subject: Re: [PHP] Re: URGENT HELP NEEDED - After Upgrade to MySQL 4.0.1.2


 I'm sorry I have no idea what that means.

 Marek Kilimajer [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  try
  ldd /usr/lib/php4/mysql.so



 --
 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] Re: URGENT HELP NEEDED - After Upgrade to MySQL 4.0.1.2

2003-02-13 Thread Lucas Lain
ldd /usr/lib/php4/mysql.so?

Vernon wrote:


When I try to restart Apche I get the following error:

PHP Warning:  Unable to load dynamic library '/usr/lib/php4/mysql.so' -
/usr/lib/php4/mysql.so: cannot open shared object file: No such file or
directory in Unknown on line 0

Any ideas, pleas ethis thing is still down.





--
Lucas Lain
[EMAIL PROTECTED]




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




Re: [PHP] Re: URGENT HELP NEEDED - After Upgrade to MySQL 4.0.1.2

2003-02-13 Thread Vernon
There is no mysql.so file

Lucas Lain [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 ldd /usr/lib/php4/mysql.so?

 Vernon wrote:



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




Re: [PHP] Re: URGENT HELP NEEDED - After Upgrade to MySQL 4.0.1.2

2003-02-13 Thread Lucas Lain
did you install php-mysql support??

Vernon wrote:


There is no mysql.so file

Lucas Lain [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...


ldd /usr/lib/php4/mysql.so?

Vernon wrote:







--
Lucas Lain
[EMAIL PROTECTED]




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




Re: [PHP] Re: URGENT HELP NEEDED - After Upgrade to MySQL 4.0.1.2

2003-02-13 Thread Vernon
When I try to install that I am told:
libmysqlclient.so.10   is needed by php-mysql-4.1.2-7.2.6



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




Re: [PHP] Re: URGENT HELP NEEDED - After Upgrade to MySQL 4.0.1.2

2003-02-13 Thread Vernon
OK, I looked up that file and found that I needed to install the
MySQL-shared-3.23.51-1.i386.rpm which I did and realized that I already have
the php-mysql installed. But am still getting the same erro message when
restarting.

However I did find the file you were asking about but in the /usr/lib/php
folder and here is what I got:

ldd /usr/lib/php/mysql.so
libmysqlclient.so.10 = /usr/lib/libmysqlclient.so.10 (0x40026000)
libc.so.6 = /lib/i686/libc.so.6 (0x40057000)
libz.so.1 = /usr/lib/libz.so.1 (0x40193000)
libcrypt.so.1 = /lib/libcrypt.so.1 (0x401a1000)
libnsl.so.1 = /lib/libnsl.so.1 (0x401ce000)
libm.so.6 = /lib/i686/libm.so.6 (0x401e5000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)



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




Re: [PHP] Re: URGENT HELP NEEDED - After Upgrade to MySQL 4.0.1.2

2003-02-13 Thread Marek Kilimajer
So the file is looked for in /usr/lib/php4, but resides in /usr/lib/php, 
you should move it

Vernon wrote:

OK, I looked up that file and found that I needed to install the
MySQL-shared-3.23.51-1.i386.rpm which I did and realized that I already have
the php-mysql installed. But am still getting the same erro message when
restarting.

However I did find the file you were asking about but in the /usr/lib/php
folder and here is what I got:

ldd /usr/lib/php/mysql.so
   libmysqlclient.so.10 = /usr/lib/libmysqlclient.so.10 (0x40026000)
   libc.so.6 = /lib/i686/libc.so.6 (0x40057000)
   libz.so.1 = /usr/lib/libz.so.1 (0x40193000)
   libcrypt.so.1 = /lib/libcrypt.so.1 (0x401a1000)
   libnsl.so.1 = /lib/libnsl.so.1 (0x401ce000)
   libm.so.6 = /lib/i686/libm.so.6 (0x401e5000)
   /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)



 



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




Re: [PHP] Re: URGENT HELP NEEDED - After Upgrade to MySQL 4.0.1.2

2003-02-13 Thread Lucas Lain
you can breath now ... :)

Vernon wrote:


I finally got it!

I had to downgrade to an older verison of the php-mysql for God know what
reason. I am back up now.





--
Lucas Lain
[EMAIL PROTECTED]




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