Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 31st August 2010, 06:48
newbie14 newbie14 is offline
Member
 
Join Date: Jul 2010
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default Php 5.3 on Centos 5.5 cannot load mysql extension

Dear All,
I have followed this link http://blog.bollysite.com/2010/08/04...3-on-centos-5/ and updated to php5.3. The problem then I try to run phpMyAdmin then I get this error "Cannot load mysql extension." So what must I do now I am totally lost? Thank you.
Reply With Quote
Sponsored Links
  #2  
Old 31st August 2010, 08:46
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

If you installed with yum, don't forget to install "php-mysql" and then restart apache. mysql should be working then.
Reply With Quote
  #3  
Old 31st August 2010, 14:49
newbie14 newbie14 is offline
Member
 
Join Date: Jul 2010
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dear Mark,
When I type yum install php it just give me the version 5.1.6. Then when I write yum install phpmyadmin it gives me No package phpmyadmin available.
Nothing to do. So that is why I resort to that site to install php5.3 just that now I am having problem with "Cannot load mysql extension".
Reply With Quote
  #4  
Old 31st August 2010, 15:06
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

as i said, you're missing the package php5-mysql

the official centos repo probably doesn't have this one ..
if you checked the page you used to install 5.3 and looked into the repo dir you'll find:
http://repo.webtatic.com/yum/centos/...3.2-1.i386.rpm

which is mostlikely the php mysql module you need to get mysql support.

this has nothing to do with phpmyadmin.
Reply With Quote
  #5  
Old 31st August 2010, 15:29
newbie14 newbie14 is offline
Member
 
Join Date: Jul 2010
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dear Mark,
So how to go about it must I do a yum or rpm for this? What is difference between them? So I go the link download the file and where to store it?So the next step how to go about installing phpmyadmin as the official centos repo dont have it. Now what I did is that I put the phpmyadmin folder into my www/html folder of the apache.Is this correct to do? Thank you.
Reply With Quote
  #6  
Old 31st August 2010, 15:42
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

what about this command?

yum --enablerepo=webtatic install php5-mysql
Reply With Quote
  #7  
Old 31st August 2010, 17:58
newbie14 newbie14 is offline
Member
 
Join Date: Jul 2010
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dear Mark,
Thank you for the command. How about the phpmyadmin what is the solution how can I get it installed? Thank you.
Reply With Quote
  #8  
Old 31st August 2010, 23:13
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
 
Default

What about you try and read a manual, so the next time you actually know what you are doing so in case of problems you can fix it?

download it from http://www.phpmyadmin.net/

then read

http://wiki.phpmyadmin.net/pma/Quick_Install

it's right there, step by step..
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Centos 5.2 + ISPConfig 3 tutorial - Problem with email tanakskool Server Operation 1 3rd June 2009 16:22
have the problem with mydns on CentOS 5.3 x86_64 thaibinhtt Installation/Configuration 1 26th May 2009 08:59
Really Simple DNS Question andysm849 Server Operation 4 20th October 2008 23:32
How to add a subdomain? malinens Installation/Configuration 2 10th March 2008 23:16


All times are GMT +2. The time now is 22:11.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.