EasyPHP installation problems

Hi Guys

I require your expertise. I have just installed EasyPHP. When i run EasyPHP the Apache server starts correctly but the MySQL database doesn’t seem to be starting. When i start EasyPHP i just get the message “Unexpected end of Mysql…see log file ?” The word stopped is placed against the Mysql button on the main. Console

I have looked on the FAQ section of the EasyPHP website which give the advice that there may be An older configuration file from a previous installation of Mysql left on the computer, so i renamed the file c:\my.cnf to c:\mya.cnf

But the problem still persists.

If you guys know what i could do to correct this problem that would be great as i am new to PHP and Mysql.

Thanks

Al1

Did you try restarting MySQL?

yes mate but no luck

thanks

Well, if you can’t make it work, I would always recommend wamp

Ok i will try that, i hope i don’t get the same problem

thanks for your suggestion mate

al1

thanks -works a treat, the error log file is still there but doesn’t appear at the start. The only message i get is the one at the bottom of the phpMyAdmin where it says:

" Cannot load mcrypt extension. Please check your PHP configuration.
Your PHP MySQL library version 5.0.51a differs from your MySQL server version 5.1.30. This may cause unpredictable behavior."

Goto
www apachelounge com -slash- download -slash -mods -slash- php_mysql.dll-for-MySQL-5.1.30.zip

This is so stupid I can’t publish a URL?

Replace your existing php_mysql.dll with the current one.
Please Note: You will not be able to use mysqli

Thanks mate a downloaded the file and replaced the existing php_mysql.dll with the downloaded one.

But after restarting the problems still persists and i get the same message" Cannot load mcrypt extension. Please check your PHP configuration.
Your PHP MySQL library version 5.0.51a differs from your MySQL server version 5.1.30. This may cause unpredictable behavior."

we just can’t win.:frowning:

To install EasyPHP in the root directory!

look in your php.ini file, and uncomment the extension directive for mcrypt. you’re looking for:


[PHP_MCRYPT]
;extension=php_mcrypt.dll

Just remove the semi-colon, and you’ll be fine, on restart.

Hope this helps. :slight_smile:

Edit:

You also may wish to un-do that swapping of DLL files. I HOPE you saved the old one.