Forum Moderators: coopster

Message Too Old, No Replies

php my admin

         

heinz1218

4:58 am on Jul 31, 2005 (gmt 0)

10+ Year Member



Sorry for being such a noob, but i just installed php and mysql (the lastest versions as of 7/30) which work fine, but php myadmin isn't working. I tried chanign the php.ini file to no avail.

I'm running IIS on XP Pro with mysql, php, asp.net.

Thanks guys.

Andrew

Dijkgraaf

2:08 am on Aug 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think you will have to give some more details, such as what errors you are getting.

heinz1218

6:27 pm on Aug 1, 2005 (gmt 0)

10+ Year Member



sorry bout that. error:

cannot load mysql extension;
please check PHP configuration
Documentation

The documentation says:

[1.20] I receive the error "cannot load MySQL extension, please check PHP Configuration".

To connect to a MySQL server, PHP needs a set of MySQL functions called "MySQL extension". This extension may be part of the PHP distribution (compiled-in), otherwise it needs to be loaded dynamically. Its name is probably mysql.so or php_mysql.dll. phpMyAdmin tried to load the extension but failed.

Usually, the problem is solved by installing a software package called "PHP-MySQL" or something similar.

This is like a classic problem. I've got php 5.0.4 and in the php.ini file it has a message about mysql support already being enabled with 5.0.4, and no DLL is needed. I added the dll anyway in the c:/php/backup folder (maybe this is the wrong place?)

;Windows Extensions
;Note that MySQL and ODBC support is now built in, so no dll is needed for it.
;
extension=php_mysql.dll

heinz1218

6:39 pm on Aug 1, 2005 (gmt 0)

10+ Year Member



ok so i just figured out that iwas supposed to be editing the php.ini inthe windwos folder. I deleted the ';' from in front of
extension=php_mysql.dll

however now it says it can't find the dll.

Warning: PHP Startup: Unable to load dynamic library './php_mysql.dll' - The specified module could not be found. in Unknown on line 0

I BELEVE i'm supposed to copy/move it from php fold, however i don't have any dll files that are supposed to be there. Did PHP not install properly or do i need to download a bunch of dlls?

coopster

1:00 am on Aug 3, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Sounds like your PHP configuration is not quite there yet. The easiest way to do this in a WAMP (Windows/Apache/MySQL/PHP) installation is to add it to your PATH [php.net] and use the Apache PHPIniDir [php.net] directive.