LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-04-2007, 03:34 AM   #1
Rainel
Member
 
Registered: Jun 2007
Posts: 57

Rep: Reputation: 15
phpMyAdmin - Error


Hello,

I'm installing phpMyAdmin-2.11.0, I already edited config.inc.php
and edited some stuff there.
I also and already edited the /etc/php.ini and uncommented the extension module from:

;extension=msql.so

to

extension=msql.so

but still I got this error message when try to access phpmyadmin on my localhost

phpMyAdmin - Error
Cannot load mysql extension. Please check your PHP configuration.


Also when I try to type php in my terminal I got this error message:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/msql.so' - /usr/lib/php/modules/msql.so: cannot open shared object file: No such file or directory in Unknown on line 0



And also I'm not so sure if where should I put my phpmyadmin directory, as of now I just put it in my /var/www/html. Is it ok?
By the way I'm using centos 5 with apache2,php 5.1.6


Any idea is highly appreciated,

Regards,

Rainel

Last edited by Rainel; 09-04-2007 at 03:37 AM.
 
Old 09-04-2007, 04:08 AM   #2
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
I wonder if it should be mysql instead of msql but never the less
is mysqld as service started?
 
Old 09-04-2007, 04:13 AM   #3
Rainel
Member
 
Registered: Jun 2007
Posts: 57

Original Poster
Rep: Reputation: 15
yes it is running..
that ;extension=msql.so is generated by default

Thanks for the reply
 
Old 09-04-2007, 04:17 AM   #4
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
Ok...

we will figure that out.

You do know that PHP5 doesn't have MySQL installed like PHP4 right?

extension=php_mysql

could that be possible?

Last edited by odcheck; 09-04-2007 at 04:23 AM. Reason: At work I've to use Windows.....
 
Old 09-04-2007, 04:28 AM   #5
Rainel
Member
 
Registered: Jun 2007
Posts: 57

Original Poster
Rep: Reputation: 15
could that would be..

extension=php_mysql

where could i edit this configuration or i need to install php_mysql package...if so do I need to uninstall my php and mysql

Thanks for the reply,

Best Regards,
Rainel
 
Old 09-04-2007, 10:21 PM   #6
Rainel
Member
 
Registered: Jun 2007
Posts: 57

Original Poster
Rep: Reputation: 15
Hello,

I got it I just do this:

yum install php-mysql

then everything went ok...

Best Regards,

Rainel
 
  


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
phpmyadmin #2002 error curos Slackware 5 07-18-2005 03:33 AM
error using phpMyAdmin funkyche Linux - Newbie 1 01-12-2005 04:55 PM
mysql <> phpmyadmin error rizza Linux - Software 0 01-28-2004 07:34 AM
error with phpmyadmin phil81 Linux - Software 1 12-28-2003 10:43 AM
phpMyAdmin error dsiguy Linux - General 0 01-31-2003 11:34 AM


All times are GMT -5. The time now is 12:30 PM.

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