LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-20-2007, 07:20 PM   #1
Crump
LQ Newbie
 
Registered: Apr 2007
Posts: 7

Rep: Reputation: 0
Yum php-mysql 3.22 vs 4.1


I installed mysql 4.1, but with the yum php-mysql package it says:
php-mysql.i386 4.3.9-3.22.4

So to me that looks like it wants to use the mysql 3.22.4 libraries when in fact I already have a good copy of mysql installed on my server (4.1). So I guess PHP needs to know about my copy?

In the configure statement (I guess yum generates this?), it says:
--with-mysql=shared,/usr

However there is no other mention of mysql on my phpinfo page, and I can't use mysql stuff in php. I think I need to change the directory? How do I do that, if yum has taken care of the configure statement? mysql is : /usr/bin/mysql

Thanks.
 
Old 04-21-2007, 06:49 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
get apache and php and compile from source - thats what i would do. I dont know fedora but in suse it was rather annoying to try to change the rpm-based settings of lamp systems because it was controlled by some sysconfig in the background.
 
  


Reply



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
can I use yum to install mysql and php rscott Linux - Newbie 7 05-29-2005 07:29 PM
How do I tell yum/apt/rpm that I have hand built and installed apache/mysql/php BigDave Linux - Software 1 04-14-2005 02:51 PM
Problem getting PHP to recognize MySQL, Using PHP 4.0 and MySQL 4.0.20 d2army Programming 4 06-27-2004 08:54 PM
php4 mysql, installation, php-pages with mysql info stay empty dnla Linux - Software 2 03-14-2004 02:54 PM
Apache Mysql Php: mysql with php doesn't work breakerfall Linux - Networking 6 12-27-2003 08:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:02 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