mysql and mysqli extensions not loading
Posted by: eggman2001 (---.c3-0.43d-ubr10.qens-43d.ny.cable.rcn.com)
Date: December 07, 2007 11:38PM

I just installed WAMP5 and all services are loading up, but I did a phpinfo and the mysql and mysqli php extensions aren't getting loaded even though they're checked off in the php extensions menu. Does anyone know if there's an easy solution to this?

Options: ReplyQuote
Re: mysql and mysqli extensions not loading
Posted by: yfastud (Moderator)
Date: December 08, 2007 04:40AM

Can you get in phpmyadmin? If yes, that's mean your mysql is working fine

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: mysql and mysqli extensions not loading
Posted by: eggman2001 (---.c3-0.43d-ubr10.qens-43d.ny.cable.rcn.com)
Date: December 09, 2007 05:18PM

Nope. Can't get into phpmyadmin. It says that the mysql extension isn't loaded.

Options: ReplyQuote
Re: mysql and mysqli extensions not loading
Posted by: yfastud (Moderator)
Date: December 09, 2007 05:36PM

Did you try to enable it manually through php.ini? Remember to restart wamp after edit file

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: mysql and mysqli extensions not loading
Posted by: eggman2001 (---.c3-0.43d-ubr10.qens-43d.ny.cable.rcn.com)
Date: December 22, 2007 12:05AM

I just reinstalled wamp, and I'm still getting the same thing.

I looked in php.ini and I see that mysql, mysqli and gd2 should be getting loaded, but they're not actually loading. Here is what that section looks like for me.

extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_gmp.dll
;extension=php_ifx.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_ldap.dll
extension=php_mbstring.dll
;extension=php_mcrypt.dll
;extension=php_mhash.dll
;extension=php_mime_magic.dll
;extension=php_ming.dll
;extension=php_msql.dll
;extension=php_mssql.dll
extension=php_mysql.dll
extension=php_mysqli.dll

yfastud Wrote:
-------------------------------------------------------
> Did you try to enable it manually through php.ini?
> Remember to restart wamp after edit file

Options: ReplyQuote
Re: mysql and mysqli extensions not loading
Posted by: eggman2001 (---.c3-0.43d-ubr10.qens-43d.ny.cable.rcn.com)
Date: December 22, 2007 12:36AM

I just figured it out. I had php installed on my machine from something I was doing previously, and it was interfering somehow. So I deleted my old php installation and now the extensions are loading fine.

Options: ReplyQuote
Re: mysql and mysqli extensions not loading
Posted by: Niedner (---.user.veloxzone.com.br)
Date: January 25, 2008 02:26PM

Hi,
I've installed WAMP and changed apache, php and mysql versions to 2.0.61 , 4.4.7 and 4.1.22.

When i access phpmyadmin it says: "Cannot load mysqli extension".

I saw no php_mysqli.dll inside the extensions dir at php4 folder, so i tried copying the dll from php5 to php4 extension's folder and editing the php.ini adding the ;extension=php_mysqli.dll.
Restarting the server and i got the same error.

Someone can help?

Thanks

Options: ReplyQuote


Sorry, only registered users may post in this forum.