When XAMPP is shackled under centos to the/opt/lampp directory and/opt/lampp start starts, the following problems occur:
XAMPP: SELinux is activated. Making XAMPP fit SELinux...
Starting XAMPP for Linux 1.7.1...
XAMPP: Starting Apache with SSL (and PhP5 )...
XAMPP: Starting MySQL...
XAMPP: couldn't start MySQL!
XAMPP: Starting ProFTPD...
XAMPP for Linux started.
First use the following command to modify:
Disable SELinux first, and then perform the following operations:
# Chown-HR root/opt/lampp
#/Opt/lampp start
# Chmod 777-r/opt/lampp/var
However, the following problems occur:
XAMPP: Starting MySQL...
Warning: World-Writable Config File '/opt/lampp/etc/My. CNF' is ignored
Warning: World-Writable Config File '/opt/lampp/etc/My. CNF' is ignored
Finally, use the following command to solve the problem:
# Cd/opt/lampp/etc
# Chmod 755 my. CNF
Normal after restart!