Mysql integration php problem

try this:

Code:
wget http://files.directadmin.com/services/7.2/MySQL-shared-4.0.23-0.i386.rpm
rpm -ivh MySQL-shared-4.0.23-0.i386.rpm
 
On second thought: I got x64 and SQL 5.2.17, is that the right package?
 
Code:
rpm -e php.x86_64 5.1.6-27.el5_5.3
rpm -e php-cli.x86_64 5.1.6-27.el5_5.3
rpm -e php-common.x86_64 5.1.6-27.el5_5.3
rpm -e php-mysql.x86_64 5.1.6-27.el5_5.3
rpm -e php-pdo.x86_64 5.1.6-27.el5_5.3

and re-intall php with custombuild.
 
mmh yes you have to rebuild at least php, not sure about mysql.

But aswell, php maybe had fail installation if didnt find this library, thats what i suppose but not sure :)
 
prolly i downloaded from directadmin website and installed as i told you to do.

ive checked version using yum

Code:
>yum list installed | grep shared
MySQL-shared.x86_64                       5.1.55-1.glibc23             installed

Code:
>yum search MySQL-shared
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirrors.prometeus.net
 * base: mirrors.prometeus.net
 * extras: mirrors.prometeus.net
 * rpmforge: fr2.rpmfind.net
 * updates: mirrors.prometeus.net
Excluding Packages in global exclude list
Finished
======================================================================================== Matched: MySQL-shared =========================================================================================
MySQL-shared.x86_64 : MySQL - Shared libraries
 
Should i take a look in your box?

Have you restarted apache? cause on your phpinfo i still see the php.ini in /etc and thats not normal
 
Thanks to SeLLeRoNe this is now fixed!

So the solution was to copy libs from /usr/lib64 to /usr/lib and reinstalling mysql/php?
(for the search function with other people with the same problem)

2 torrent trackers with 35k peers running smoothly now :D
 
Back
Top