Forum Moderators: open

Message Too Old, No Replies

Problem using locally wamp ->apache-php-mysql

         

jgangso

10:25 pm on Jan 29, 2008 (gmt 0)

10+ Year Member



Hi,

I'm running with:
- Windows Vista Professional
- wampserver2.0
- Apache-server 2.2.6
- PHP 5.2.5
- MySQL 5.0.45

and I have a problem with my local-server thing.
I have been searching from forums and tutorials for solution now for several hours, and I've been trying all solutions, but nothing has worked, so I think I can start a new topic of that. :)

[localhost...] works, but both phpmyadmin and SQLiteManager don't work. When trying to open phpmyAdmin, I receive following error-message:
Cannot load mysqli extension. Please check your PHP configuration. - Documentation

I have been working locally with a internetpage now for almost two weeks and it has worked perfectly, but now it suddenly stopped working. I not really into servers, databases and everything between them, but I've been working with them for a while, so as far as I know, I haven't done anything special, to make it stop.

What I have tried at least:

-Disabled-Enabled mysqli-extension from the wamp-menu, and from the php.ini-file
-Checked the httpd.conf
-Uninstalled wampserver2.0-package -> Deleted all the rests of it, i could find -> Restarted computer -> Downloaded a fresh wampserver2.0 -> Installed it.

Can it be, that the cause is something with other applications, antivirus, or something like that?

I would really appreciate that, if somebody would take a look at this case.

Thanks!

StarCoder

7:50 pm on Jan 31, 2008 (gmt 0)

10+ Year Member



check if you have a mysqli.dll in C:\apachefriends\xampp\php\ext (or whereever your webserver is located) in this folder and if this dll is enabled in php.ini .
also, your extension directory must be set up in path under windows enviroment variables.
watch out, sometimes different versions of sql engines need different extension .dlls - took me a while to figure that out when i changed a mysql installation :/

jgangso

2:07 am on Feb 1, 2008 (gmt 0)

10+ Year Member



Hi,
Thanks for your tips.

What i found up somehow, i don't know how :) but there was a corrupted php_mysqli.dll and php_mysql.dll in Zend Core directory. When i downloaded fresh extensions, and copied them there, it magically started working.
I don't know why is it like that, never read about Zend Core having something to do with my php extensions, but anyways, now my server is working.
-jgangso

phranque

3:18 am on Feb 1, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld [webmasterworld.com], jgangso!

jgangso

2:54 pm on Feb 1, 2008 (gmt 0)

10+ Year Member



Muchas Gracias! :)