LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   phpMyAdmin - Error (https://www.linuxquestions.org/questions/linux-newbie-8/phpmyadmin-error-582038/)

Rainel 09-04-2007 02:34 AM

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

odcheck 09-04-2007 03:08 AM

I wonder if it should be mysql instead of msql but never the less
is mysqld as service started?

Rainel 09-04-2007 03:13 AM

yes it is running..
that ;extension=msql.so is generated by default

Thanks for the reply

odcheck 09-04-2007 03:17 AM

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?

Rainel 09-04-2007 03:28 AM

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

Rainel 09-04-2007 09:21 PM

Hello,

I got it I just do this:

yum install php-mysql

then everything went ok...:)

Best Regards,

Rainel


All times are GMT -5. The time now is 06:38 AM.