Page 1 of 2

Big Problem Plz Heeeelp

PostPosted: 10. December 2008 22:09
by Pe3zay
Hi!
I'm new here and i have a big problem, I'm have xampp and everything workd great until now
I try to connect to phpmyadmin and i got a error message

cannot load MySQL extension, please check PHP Configuration

How do i fix this? please someone help me i'm not good in this :cry:

Re: Big Problem Plz Heeeelp

PostPosted: 10. December 2008 22:22
by Wiedmann
How do i fix this?

XAMPP is using a wrong (old?) "php.ini".

Re: Big Problem Plz Heeeelp

PostPosted: 10. December 2008 22:25
by Pe3zay
Wiedmann wrote:
How do i fix this?

XAMPP is using a wrong (old?) "php.ini".


Okej can i download a new php.ini?

Re: Big Problem Plz Heeeelp

PostPosted: 10. December 2008 22:28
by glitzi85
No, you do not have an old php.ini, your PHP uses an wrong version of php.ini on your Computer. That normally happens if people install PHP by thereself and thereafter XAMPP. Then the PHP from XAMPP is using the php.ini from the old PHP installation. Search for php.inis outside your XAMPP-Directory and delete them!

glitzi

Re: Big Problem Plz Heeeelp

PostPosted: 10. December 2008 22:50
by Pe3zay
glitzi85 wrote:No, you do not have an old php.ini, your PHP uses an wrong version of php.ini on your Computer. That normally happens if people install PHP by thereself and thereafter XAMPP. Then the PHP from XAMPP is using the php.ini from the old PHP installation. Search for php.inis outside your XAMPP-Directory and delete them!

glitzi



okej I have search for php.ini on C: cus my xamp is installd in D:
but search give no results.
all my website have been working for 1 year now whit no problems
but now i only got blan websites and when i try to connect to phpmyadmin
i got that error message.
I haven't updatede xampp so i have a old version cus i don't understand the guide for updateing your xampp.

Re: Big Problem Plz Heeeelp

PostPosted: 10. December 2008 23:04
by Wiedmann
okej I have search for php.ini on C: cus my xamp is installd in D:
but search give no results.

What's the value of "loaded configuration file" in phpinfo()?

Re: Big Problem Plz Heeeelp

PostPosted: 10. December 2008 23:14
by Pe3zay
Wiedmann wrote:
okej I have search for php.ini on C: cus my xamp is installd in D:
but search give no results.

What's the value of "loaded configuration file" in phpinfo()?


D:\xampp\php\php4\php.ini

Re: Big Problem Plz Heeeelp

PostPosted: 10. December 2008 23:19
by Wiedmann
D:\xampp\php\php4\php.ini

That's the wrong file. Have you test this in the shell or with the browser?

Re: Big Problem Plz Heeeelp

PostPosted: 10. December 2008 23:27
by Pe3zay
Wiedmann wrote:
D:\xampp\php\php4\php.ini

That's the wrong file. Have you test this in the shell or with the browser?


i logd in to my http://localhost/xampp/ and there i found phpinfo()
and search for the "Loaded Configuration File"
and there it say D:\xampp\php\php4\php.ini
do you want me to copy all the text i have when i put D:\xampp\php\php4\php.ini in my browser?
and remember i have a old version of xampp
the version is 1.6.2 :oops:

sorry for my english i'm from sweden

Re: Big Problem Plz Heeeelp

PostPosted: 10. December 2008 23:36
by Wiedmann
Which PHP version are you using? (look in phpinfo())

Re: Big Problem Plz Heeeelp

PostPosted: 10. December 2008 23:39
by Pe3zay
Wiedmann wrote:Which PHP version are you using? (look in phpinfo())



PHP Version 5.2.2

Re: Big Problem Plz Heeeelp

PostPosted: 10. December 2008 23:43
by Wiedmann
Is the directive "PHPIniDir" in any of Apaches' config files?

Re: Big Problem Plz Heeeelp

PostPosted: 10. December 2008 23:50
by Pe3zay
Wiedmann wrote:Is the directive "PHPIniDir" in any of Apaches' config files?


I lookt in D:\xampp\apache\conf and there i find this file httpd CONF
and search for PHPIniDir but whit no luck

Re: Big Problem Plz Heeeelp

PostPosted: 11. December 2008 00:01
by Wiedmann
I lookt in D:\xampp\apache\conf

You must search in all *.conf files in this directory and subdirectory.

Re: Big Problem Plz Heeeelp

PostPosted: 11. December 2008 00:14
by Pe3zay
Wiedmann wrote:
I lookt in D:\xampp\apache\conf

You must search in all *.conf files in this directory and subdirectory.



I have search for PHPIniDir in all directorys in D:\xampp\apache
but nothing there :(