LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-16-2004, 02:13 PM   #1
jjd228
Member
 
Registered: Jan 2004
Distribution: RedHat 9
Posts: 41

Rep: Reputation: 15
need an expert for this one


ok... using redhat 9, everything basically out of the box. installed rpm's for the latest versions of MySQL server and client. im trying to get a BBS up and running on the webserver from www.phpbb.com. its supposed to be very simple, but of course its not. ive been told that i need to recompile php with support for MySQL.... does this sound right? and if so, can someone give me some simple direction? thanks in advance
 
Old 03-16-2004, 02:16 PM   #2
Drogo
Member
 
Registered: Oct 2002
Distribution: RedHat 8 or 9 (shrike)- Fedora Core 1,2
Posts: 215

Rep: Reputation: 30
Do this :

rpm -qa | grep php

and tell me what u see.

You may need the php-mysql package that redhat 9 doesnt install by default.
 
Old 03-16-2004, 02:23 PM   #3
jjd228
Member
 
Registered: Jan 2004
Distribution: RedHat 9
Posts: 41

Original Poster
Rep: Reputation: 15
thank you! ill have to switch machines to run the command but in the meantime let me tell you that i also thought that and actually installed that package. once i did that the MySQL server wouldnt even start again. i got alll kinds of dependancy errors... brb with the output...
 
Old 03-16-2004, 02:29 PM   #4
jjd228
Member
 
Registered: Jan 2004
Distribution: RedHat 9
Posts: 41

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Drogo
Do this :

rpm -qa | grep php

and tell me what u see.

You may need the php-mysql package that redhat 9 doesnt install by default.
[root@redhat ~]# rpm -qa | grep php
php-4.2.2-17
php-imap-4.2.2-17
php-ldap-4.2.2-17



remember that i installed the newest MySQL rpm's from the MySQL website.... maybe the php-mysql package that ships with redhat 9 doesnt work with that version? as of now this is a new installation and i have NOT installed the php-mysql package.
 
Old 03-16-2004, 02:31 PM   #5
Drogo
Member
 
Registered: Oct 2002
Distribution: RedHat 8 or 9 (shrike)- Fedora Core 1,2
Posts: 215

Rep: Reputation: 30
you are missing the

php-mysql-4.2.2-17

You can installed it from your cds or if you use apt-get ill be easier for you .
 
Old 03-16-2004, 02:35 PM   #6
jjd228
Member
 
Registered: Jan 2004
Distribution: RedHat 9
Posts: 41

Original Poster
Rep: Reputation: 15
maybe something went wrong last time.... ill try again from the cd's. ill post what happened tomorrow incase youre interested. will there be a problem since i already installed the new version of MySQL?
 
Old 03-16-2004, 02:37 PM   #7
Drogo
Member
 
Registered: Oct 2002
Distribution: RedHat 8 or 9 (shrike)- Fedora Core 1,2
Posts: 215

Rep: Reputation: 30
is mysql running ok ?> or are you having problems with it >?
 
Old 03-16-2004, 02:39 PM   #8
jjd228
Member
 
Registered: Jan 2004
Distribution: RedHat 9
Posts: 41

Original Poster
Rep: Reputation: 15
as of now it seems to be running. the simple tests ive done are ok...

like mysqlshow

and mysqladmin version

they return info so i guess its running. but i bet after i install the php-mysql package it wont be running so good anymore. at least thats what happened last time. ill definitely try today and let you know
 
Old 03-16-2004, 02:41 PM   #9
Drogo
Member
 
Registered: Oct 2002
Distribution: RedHat 8 or 9 (shrike)- Fedora Core 1,2
Posts: 215

Rep: Reputation: 30
Try this if you dont have it installed.

Download Apt-get

to installed it do :

rpm -ivh apt-0.5.5cnc6-fr1.i386.rpm


After its finished do :

apt-get install php-mysql
 
Old 03-16-2004, 07:26 PM   #10
jjd228
Member
 
Registered: Jan 2004
Distribution: RedHat 9
Posts: 41

Original Poster
Rep: Reputation: 15
as usual....


[root@localhost root]# rpm -ivh apt-0.5.5cnc6-fr1.i386.rpm
warning: apt-0.5.5cnc6-fr1.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
Preparing... ########################################### [100%]
1:apt ########################################### [100%]
[root@localhost root]#
[root@localhost root]#
[root@localhost root]# apt-get install php-mysql
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package php-mysql
[root@localhost root]#
 
Old 03-16-2004, 07:39 PM   #11
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 50
apt-cache search mysql|grep php
phpXXX-mysql : mysql support for php
apt-get install phpXXX-mysql


if you don't find php add another repository to your sources.list file.
 
Old 03-17-2004, 04:39 AM   #12
jjd228
Member
 
Registered: Jan 2004
Distribution: RedHat 9
Posts: 41

Original Poster
Rep: Reputation: 15
thanks guys. i cant try this until i get to work. but tell me if this sounds right... i installed MySQL ver. 4.xxx

when i previously tried to install the php-mysql package from the redhat cd's, i think it installed a 3.x version of mysql on top of my 4.x installation which is what screwed everything up. what can i do about this?
 
Old 03-17-2004, 10:30 AM   #13
jjd228
Member
 
Registered: Jan 2004
Distribution: RedHat 9
Posts: 41

Original Poster
Rep: Reputation: 15
yeah... apt-cache command no found.
isnt linux wonderful? aahhh.... linux, the eternal novelty.

truth is this same bbs, the one that im having all this trouble with in the first place was up and running with php and mysql on a windows IIS server in about 3 clicks. cant argue with that. although for novelty sake i would like to get it running on linux

any ideas?
 
Old 03-17-2004, 10:33 AM   #14
jjd228
Member
 
Registered: Jan 2004
Distribution: RedHat 9
Posts: 41

Original Poster
Rep: Reputation: 15
hey... i found php-mysql-4.0.2-1.rpm on another site. downloaded it, ran it with rpm -ivh and got:

error: Failed dependencies:
libmysqlclient.so.6 is needed by php-mysql-4.0.2-1

again... isnt linix great? LOL... now what?
 
Old 03-17-2004, 10:59 AM   #15
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
hi...

to get libmysqlclient.so.6, download this file by clicking the topmost link on the page below:

http://www.dlhoffman.com/publiclibra...25-1.i386.html

hope that helps..

Regards,

amit
 
  


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
need an expert BookMaker Linux - Newbie 6 07-09-2005 08:03 PM
Need some expert help - Sim65 mattblack_uk Linux - Software 0 11-16-2004 02:18 AM
To vim expert, I need help hottdogg Linux - Software 3 11-05-2004 05:54 AM
Need JAVA expert HELP! 007spy Programming 7 01-23-2004 06:25 PM
Expert Please eckomark Linux - Newbie 6 11-11-2001 12:06 AM


All times are GMT -5. The time now is 11:50 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration