Page 1 of 1

XAMPP(lite) on USB stick (mysql problem)

PostPosted: 22. January 2007 04:00
by maximus
Hey everyone, xampp(lite) runs fine on my computer's hard drive, and appears to also work on my usb stick (E:\) except that mysql is not functioning, though it appears as "running" in the control panel.

This is the error msg I get when viewing phpmyAdmin on my usb stick:

Code: Select all
phpMyAdmin - Error

Cannot load mysql extension. Please check your PHP configuration. - Documentation


and in php scripts which connect to mysql:

Code: Select all
Fatal error: Call to undefined function mysql_connect() in E:\xampplite\htdocs\site\config.php on line 5


Can someone please tell me how to fix this problem? Thanks.

PostPosted: 23. January 2007 22:55
by cvdbAdmin
I have never used Xampp lite so this is just a shot in the dark but you could try reinstalling onto your usb stick. Or you could try downloading the .zip folder instead of the installer and replace the config.php file on your usb with the same file in the .zip folder. This could replace the function that seems to be missing in your file.