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
|
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. |
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...
|
Quote:
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. |
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 . |
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?
|
is mysql running ok ?> or are you having problems with it >?
|
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 |
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 |
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]# |
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. |
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? |
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? |
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? |
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. |