LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   need an expert for this one (https://www.linuxquestions.org/questions/linux-software-2/need-an-expert-for-this-one-158521/)

jjd228 03-16-2004 02:13 PM

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

Drogo 03-16-2004 02:16 PM

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.

jjd228 03-16-2004 02:23 PM

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...

jjd228 03-16-2004 02:29 PM

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.

Drogo 03-16-2004 02:31 PM

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 .

jjd228 03-16-2004 02:35 PM

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?

Drogo 03-16-2004 02:37 PM

is mysql running ok ?> or are you having problems with it >?

jjd228 03-16-2004 02:39 PM

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

Drogo 03-16-2004 02:41 PM

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

jjd228 03-16-2004 07:26 PM

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]#

mrcheeks 03-16-2004 07:39 PM

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.

jjd228 03-17-2004 04:39 AM

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?

jjd228 03-17-2004 10:30 AM

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?

jjd228 03-17-2004 10:33 AM

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?

coolamit78 03-17-2004 10:59 AM

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


All times are GMT -5. The time now is 08:03 AM.