View previous topic :: View next topic |
Author |
Message |
tecnoboy -
Joined: 02 Jan 2005 Posts: 9
|
Posted: Sun Jan 02, 2005 5:49 pm Post subject: phpMyAdmin and MySQL - Problem |
|
|
Hi, Im having a problem, when I try to access: http://localhost/phpMyAdmin
it gives me the following error: "cannot load MySQL extension, please check PHP Configuration"
I know that I need a thing called "MySQL Extension for PHP", or "mysqli", I think they are the same, were can I download this, and how should I install it ?
Please help me, thanks. |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Sun Jan 02, 2005 8:09 pm Post subject: |
|
|
You can only find this in the PHP v5 package , use MySQL v4.0.20 because its easier to setup. |
|
Back to top |
|
 |
tecnoboy -
Joined: 02 Jan 2005 Posts: 9
|
Posted: Sun Jan 02, 2005 9:44 pm Post subject: |
|
|
TRUSTpunk wrote: | You can only find this in the PHP v5 package , use MySQL v4.0.20 because its easier to setup. |
Hi,
Thanks for your reply !
Infact, Im using PHP v5 package, so I don't understand how it isn't working ?! Any thoughts ? I apreciate any help.
Thanks again |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Mon Jan 03, 2005 12:13 am Post subject: |
|
|
You should know that on some PHP scripts with PHP v5 , they don't actually
work correctly , its best just to use PHP v4 untill they work out the bugs. |
|
Back to top |
|
 |
tecnoboy -
Joined: 02 Jan 2005 Posts: 9
|
Posted: Mon Jan 03, 2005 12:17 am Post subject: |
|
|
TRUSTpunk wrote: | You should know that on some PHP scripts with PHP v5 , they don't actually
work correctly , its best just to use PHP v4 untill they work out the bugs. |
phpMyAdmin says it's because I don't have the MySQL - PHP extensions, you recon that they are already installed and the problem is a PHP5 bug, is that it ? Please reply and thanks for all. |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Mon Jan 03, 2005 12:19 am Post subject: |
|
|
No , im actually trying to tell you that PHP v5 is very buggy but you can find
these MySQL extensions in the PHP v5 zip binary package , I recommend
PHP v4 , I really have no problems using it and its nice and stable. |
|
Back to top |
|
 |
tecnoboy -
Joined: 02 Jan 2005 Posts: 9
|
Posted: Mon Jan 03, 2005 12:23 am Post subject: |
|
|
TRUSTpunk wrote: | No , im actually trying to tell you that PHP v5 is very buggy but you can find
these MySQL extensions in the PHP v5 zip binary package , I recommend
PHP v4 , I really have no problems using it and its nice and stable. |
My problem is that I want to host a buletin board: phpBB, and PHP v4 has many security bugs, I've seen many phpBB hacked lately because their servers use PHP v4, and I don't want to take risks...
What do you recomend then ?
Thanks |
|
Back to top |
|
 |
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Mon Jan 03, 2005 1:47 am Post subject: |
|
|
Actually, they were hacked because they were using old versions of phpBB.
Regarding the dll in question...
Did you uncomment the extension in your php.ini file? |
|
Back to top |
|
 |
tecnoboy -
Joined: 02 Jan 2005 Posts: 9
|
Posted: Mon Jan 03, 2005 12:12 pm Post subject: |
|
|
Moxxnixx wrote: | Actually, they were hacked because they were using old versions of phpBB.
Regarding the dll in question...
Did you uncomment the extension in your php.ini file? |
Humm, whas that necessary ? Im a noob when it comes to PHP and MySQL, so I could use all the help I can get !
So what do I have to do ? Can you please explain ? Thank you. |
|
Back to top |
|
 |
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Mon Jan 03, 2005 3:15 pm Post subject: |
|
|
Yes, it was necessary to clarify any rumors going around. There was an exploit in PHP versions
prior to 4.3.8. This affected most boards, including IPB and VBulletin, that use unserialize and
realpath functions. So, you were partly correct.
But the recent phpBB hacks were because of a little perl script called Santy.A worm that makes
use of the highlighting exploit to deface sites running versions of phpBB prior to 2.0.11. It was
actually using Google to hunt these older boards down. Read more about it here...
http://news.bbc.co.uk/1/hi/technology/4117711.stm
If you want PHP v5 to work, try this...
Go into your php.ini file (located in your WINDOWS directory) and find the line that says... Code: | ;extension=php_mysql.dll | Delete the ";" symbol at the beginning of that line. This is called "uncommenting". Save the file and close.
Then, go into your ext folder in PHP and copy&paste php_mysql.dll. Put it into the main folder that PHP is installed.
Now, try phpmyadmin to see if it works.
Come back here to let us know how it goes. ;) |
|
Back to top |
|
 |
tecnoboy -
Joined: 02 Jan 2005 Posts: 9
|
Posted: Mon Jan 03, 2005 3:39 pm Post subject: |
|
|
Thanks for the tip ! ;)
Im not at home now, but when I get there I will try it. |
|
Back to top |
|
 |
Caduceus -
Joined: 13 Mar 2005 Posts: 21 Location: Chattanooga, TN
|
Posted: Sat Mar 19, 2005 10:39 pm Post subject: Error 500 |
|
|
I've been having identical problems with MySQL. Although I've had the green light and two different scripts work (they don't use mysql).
After reading your suggestion re: php-mysql.dll and applying those changes, I now get the dreaded Error 500 Internal Server Error.
Any thoughts/suggestions??? |
|
Back to top |
|
 |
|