LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-26-2011, 02:10 AM   #1
dutchw
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Rep: Reputation: 0
PHP - Problem with mysql integration Centos 5.5 x64


After making the mistake of updating httpd through yum, I had to recompile apache/mysql/php through custombuild.

After that my mysql integration is no longer working :
http://cyclingtorrents.nl/info.php

When I tried to install php-mysql it comes with a missing dependency libmysqlclient.so.15

So I manually copied an older version of mysql.so to /usr/lib64/php/modules/
But now i'm getting all kind of weird behaviour

Any pointers?

My os is Centos 5.5 x64

Getting this with install php-mysql

--> Running transaction check
---> Package mysql.x86_64 0:5.0.77-4.el5_5.4 set to be updated
--> Processing Conflict: mysql conflicts MySQL
--> Finished Dependency Resolution
mysql-5.0.77-4.el5_5.4.x86_64 from updates has depsolving problems
--> mysql conflicts with MySQL-server
Error: mysql conflicts with MySQL-server
 
Old 02-26-2011, 03:31 AM   #2
dutchw
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Original Poster
Rep: Reputation: 0
Got a little further and managed to install php-mysql by installing mysql-shared-community. However all php pages that use mysql turn up white. Also roundcube/phpmyadmin not working. Any clues?

When I type php-m Mysql is listed, but it's still not lised under phpinfo
 
Old 02-26-2011, 03:41 AM   #3
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 101Reputation: 101
I saw the --without-mysql on your phpinfo() page.
 
Old 02-26-2011, 04:09 AM   #4
dutchw
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Original Poster
Rep: Reputation: 0
It's somewhat working, but all kind of weird things happen. For example this in phpmyadmin
Your PHP MySQL library version 5.0.91 differs from your MySQL server version 5.1.55. This may cause unpredictable behavi
 
Old 02-26-2011, 04:44 AM   #5
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 101Reputation: 101
You should install the PHP MySQL library which has the same version with MySQL server.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS 5.5 x64 PHP Upgrade yoachan Linux - Server 3 02-10-2011 12:03 PM
Centos 5, Apache, php, mysql Anauj0101 Linux - Server 5 02-26-2008 11:39 PM
PHP integration with Apache problem paul123 Linux - Newbie 1 02-26-2007 04:07 PM
php curl integration problem tstName Linux - Software 0 06-27-2006 03:05 AM
PHP + MySQL Integration issue digitalgravy Linux - Software 1 01-15-2004 11:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration