Tuesday, January 17, 2012

XAMPP in Ubutu x64

=================
# XAMPP is currently 32 bit only
#case `uname -m` in
# *_64)
# if /opt/lampp/bin/php -v > /dev/null 2>&1
# then
# :
# else
# $de && echo "XAMPP gibt es zur Zeit nur als 32-Bit Applikation. Bitte verwende eine 32-Bit Kompatibilitaetsbibliothek fuer Dein System."
# $de || echo "XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system."
# exit
# fi
# ;;
#esac
================



XAMPP: Couldn't start MySQL!

Trying to run mysql on ubuntu 10.10 and give this vauge error "XAMPP: Couldn't start MySQL!"

Try this

1. Open a terminal.
2. run this command sudo chown -hR root /opt/lampp
3. then run this sudo chmod -R 777 /opt/lampp
4. Now Restart XAMPP sudo /opt/lampp/lampp restart

U are all set.

And if u r getting the follwing warning after restarting
"Warning: World-writable config file ‘/opt/lampp/etc/my.cnf’ is ignored"

1.Open terminal
2.Migrate to /opt/lampp/etc
3.run the command sudo chmod 755 my.cnf

No comments: