Forum Moderators: coopster

Message Too Old, No Replies

Finding MySQL with 5.0.3

error message can't locate module

         

Ethelbert2

12:20 pm on Feb 16, 2005 (gmt 0)

10+ Year Member



I have loaded PHP MySQL and Apache on windows in the past but recently had to reload my Win XP which is SP2 fully updated.

Have reloaded Apache - fine - and MySQL and MySQLAdministrator - working fine

Loaded PHP 5.0.3 and worked through configuring the ini to show a path to the ext file and so forth - copied some of the dll in the apache file.
Copied many of the addtional modules in pecl into the php/ext directory and uncommented lots of them in the php ini (as suggested in a web tutorial - actually I don't NEED all of them yet)

Installed PHPMyAdmin and configured that and then tried to connect but only get the error message that "cant find mysql"

I tried this twice first with MySQLi and then MySQL set in the PHPMyAdmin configuration.

Same result - some advice on a forum to a similar question suggested copying the dll files to the main php directory (just meant moving them up one in fact) and I did but that does not work either

phpinfo shows lots of the modules but not MySQL or MySQLi

I am rather puzzled - can anyone help this (long winded) problem?

thanks for any advice

coopster

2:07 pm on Feb 16, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, Ethelbert2.

I believe it is all going to come down to this ...


phpinfo shows lots of the modules but not MySQL or MySQLi

... which means PHP is not finding it. You have already uncommented the module in your php.ini file, and moved the dll out into the PHP directory, so that should be fine. Are you sure you are reading the php.ini file? Your phpinfo() screen will tell you where it is trying to find that file -- make sure it is finding it.

Ethelbert2

10:21 am on Feb 17, 2005 (gmt 0)

10+ Year Member



Thanks for the reply

I have done some futher experimenting and finally re-commented the mcrypt module - suddenly the world was full of light - all the modules showed up including mysql - MySQLadmin nows works a dream and so forth.

But my - less urgent - query now is - what was happening with mcypt? Does it need special treatment or does it conflict in some way when you add in a lot of the other modules (which apart from a couple I do not STRICTLY need to have yet but just though I would go for for general avaialabiltiy as I experimented).

thanks again

coopster

12:22 pm on Feb 17, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Did you follow the mcrypt [php.net] installation instructions[/url]?


Windows users will find all the needed compiled mcrypt binaries at [ftp.emini.dk...]

Ethelbert2

12:51 pm on Feb 17, 2005 (gmt 0)

10+ Year Member



...er...no. thanks for the reminder - I am missing the lib_mcrypt.dll

I'll get on with it now.

Thanks

coopster

12:58 pm on Feb 17, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



You're welcome ;)