You are here: Re: phpmyadmin error "Cannot load mysql extension" « PHP Programming Language « IT news, forums, messages
Re: phpmyadmin error "Cannot load mysql extension"

Posted by Erwin Moller on 05/17/06 11:51

marknewbery@gmail.com wrote:

> Hi,
> I have been trying to get a php, mySQL install to work and talk
> together on Windows XP SP2 with IIS. So far I installed and received a
> responce from php(V5 - manual install) though the
>
> <?php phpinfo(); ?>
>
> command which prints out the current settings of the php install.
>
> I then installed mySQL complete setup (V5) and ran the server instance
> config wizard. The, through the command line, set up a databse tables
> that i required. In windows services mySQL is running however when
> trying to use phpmyadmin i get the error "Cannot load mysql extension".
>
> I have enabled the php_mysql.dll in the php.ini file and also, as
> suggested in other posts, copied the libmysql.dll and php_mysql.dll to
> both the system and system32 folders.
>
> is this an issue with IIS and php 5 and mySQL 5 and should i uninstall
> php 5 and use version 4 instead?

No, php5 and mysql are friends.

You must have made a mistake elsewhere.

A few 'popular' mistakes:
1) Have a few php.ini's around and edit the wrong one.
Check: phpinfo() tells you which path it is using to load php.ini

2) Is mysql working allright?
Check: Can you connect to it from commandline.

3) Do NOT store your dll's everywhere.
Understand where they should be.
(Check in php.ini for extensiondir)

Regards,
Erwin Moller

>
> any help would be greatly appreciated.
>
> Mark

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация