Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


Getting MySQL4 to work with an apt-get php version?

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Author Message
zan



Joined: 16 Jul 2003
Posts: 30
Location: Australia

Posted: Wed May 05, 2004 4:09 pm    Post subject: Getting MySQL4 to work with an apt-get php version?  

Hi, i've changed my distro over to the fedora core 1 from rh9 sml

I installed mysql4 from source, but now i've got a problem in that I cannot get php to connect to mysql properly. I get the following error: extension not found

I tried doing apt-get install php-mysql however it of course thinks that mysql is not on the system and so tries to go ahead and install mysql.

The reason I wanted to install mysql from source is so that I could use version 4, however if possible I wanted to install php using apt-get since there pretty much up to date on the php front.

By the way, mysql works fine, it just seems to be the problem that fedora core 1 does not 'recognise' the mysql install.

Im almost tempted to just scrap mysql4 and go back to 3 if I cannot solve this soon..
Back to top  
krag



Joined: 17 Apr 2004
Posts: 4

Posted: Wed May 05, 2004 5:07 pm    Post subject:  

Hey,

Im on fedora too and had the same problem. I looked into it and came up with the following URLs. I haven't tried it because to be honest I couldn't be bothered, sticking with Mysql3 for the time being.

Anyway, try this

http://www.redhat.com/archives/fedora-list/2004-January/msg06609.html

and from that mailing list...

http://fedoranews.org/contributors/tony_smith/mysql/


HTH,
Krag
Back to top  
zan



Joined: 16 Jul 2003
Posts: 30
Location: Australia

Posted: Thu May 06, 2004 12:10 am    Post subject:  

yeah, i found those thanks.

ended up just removing my install and starting again and did yum install mysql

however for some reason there is no mysqld been installed (or mysqld_safe for that matter)

seems a little strange... Have you had this same problem?
Back to top  
zan



Joined: 16 Jul 2003
Posts: 30
Location: Australia

Posted: Thu May 06, 2004 11:12 pm    Post subject:  

ok... just incase anyone is as silly as I am...

you can run:

yum install mysql-server

and that will fix my "problem"



:oops:
Back to top  
 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Page 1 of 1