phpMyAdmin problem

hi, i run a apache 2.2.4 server with php 5.2.1 & mysql server 5.0 and
everytime i try to load-up phpMyAdmin i get an error like this:
"phpMyAdmin - Error
Cannot load mysql extension. Please check your PHP configuration. -
Documentation"

ok, so i checked the php.ini and the line extension=php_mysql.dll was
uncommented, so that isn't the problem. i checked the phpMyAdmin
documentation for this, and the solution to the problem is " Usually, the
problem is solved by installing a software package called "PHP-MySQL" or
something similar.", but i don't quite understand that. any help would be
welcome.
vid [ Sa, 28 April 2007 13:03 ] [ ID #1700193 ]

Re: phpMyAdmin problem

On Apr 28, 12:03 pm, "Vid" <chil... [at] hhunity.org> wrote:
> hi, i run a apache 2.2.4 server with php 5.2.1 & mysql server 5.0 and
> everytime i try to load-up phpMyAdmin i get an error like this:
> "phpMyAdmin - Error
> Cannot load mysql extension. Please check your PHP configuration. -
> Documentation"
>
> ok, so i checked the php.ini and the line extension=php_mysql.dll was
> uncommented, so that isn't the problem. i checked the phpMyAdmin
> documentation for this, and the solution to the problem is " Usually, the
> problem is solved by installing a software package called "PHP-MySQL" or
> something similar.", but i don't quite understand that. any help would be
> welcome.

are you on windoze?
where is your php.ini, is it the one being used?
are you running apache as a module? if you are and if there is a
php.ini in the apache bin directory that will be the config that
counts.
where does your php.ini file say the php extensions directory is? is
this right? and is the required dll in there?
shimmyshack [ Sa, 28 April 2007 15:35 ] [ ID #1700196 ]

Re: phpMyAdmin problem

yes, i am on windows, php.ini is in c:/windows ; c:/.../apache2.2/bin and in
c:/php.
i am running apache as a module, and thelocation of the extension in the
directory is ok, nothing wrong with that.

and shimmy sry 2 mail u, wrong button pressed :(

----- Original Message -----
From: "shimmyshack" <matt.farey [at] gmail.com>

> are you on windoze?
> where is your php.ini, is it the one being used?
> are you running apache as a module? if you are and if there is a
> php.ini in the apache bin directory that will be the config that
> counts.
> where does your php.ini file say the php extensions directory is? is
> this right? and is the required dll in there?
>
vid [ Sa, 28 April 2007 17:19 ] [ ID #1700198 ]

Re: phpMyAdmin problem

On Apr 28, 4:19 pm, "Vid" <chil... [at] hhunity.org> wrote:
> yes, i am on windows, php.ini is in c:/windows ; c:/.../apache2.2/bin and in
> c:/php.
> i am running apache as a module, and thelocation of the extension in the
> directory is ok, nothing wrong with that.
>
> and shimmy sry 2 mail u, wrong button pressed :(
>
> ----- Original Message -----
> From: "shimmyshack" <matt.fa... [at] gmail.com>
>
> > are you on windoze?
> > where is your php.ini, is it the one being used?
> > are you running apache as a module? if you are and if there is a
> > php.ini in the apache bin directory that will be the config that
> > counts.
> > where does your php.ini file say the php extensions directory is? is
> > this right? and is the required dll in there?

no worries,
the locations of php.ini files:
apache/bin/php.ini - used when apache as module calling the script via
browser
c:/windows - not needed
c:/php - used when calling php.exe (script on command line)

I would remove the windows one, it isnt used unless the others are
missing, and only adds to confusion (the path is checked only after
the current directory)

hope that helps. mysql is usually there uncommented by default, you
havent updated php recently have you, from 4 to 5, and not updated the
modules? cant think of much else, this is porbably a path issue.
shimmyshack [ Sa, 28 April 2007 17:26 ] [ ID #1700199 ]
PHP » alt.php » phpMyAdmin problem

Vorheriges Thema: Using phpMailer & HTML
Nächstes Thema: php joomla! mysql person wanted