How to install please refer to its installation in this blog.
1, in the terminal installation XAMPP appear/opt/lampp/lampp:line 74:arch:command not found error tips
Reason: Not found
Workaround:
Enter sudo nano/bin/arch in the terminal
Add one line uname-m save exit in the pop-up edit box interface
Enter sudo chmod +x/bin/arch again in the terminal
Problem solving
2. If you start warning:world-writable config file/opt/lampp/etc/my.cnf is ignored
Reason: Xampp the Read permission of the MY.CNF is set, does not allow world-writable (literally means that the world can read and write)
Workaround: Terminal run sudo chmod 644/opt/lampp/etc/my.cnf
3, into the phpMyAdmin page display: Wrong permissions on configuration file, should is not the world writable
Reason: This is not a matter of XAMPP, is phpmyadmin directory permissions settings, if you put phpmyadmin all files chmod 777 will appear this hint
Workaround: Just modify the file properties, phpMyAdmin to run under 755 privileges,
Terminal running sudo chmod-r 755/opt/lampp/phpmyadmin
The last 2, 32 is because I map convenient to the entire LAMPP directory to chmod-r 777, the result is the problem. We should also pay attention to this problem in the future.
If you think Xampp's Htdocs directory is bad for opt/lampp/,
You can run SUDO/OPT/LAMPP/LAMPP security in the terminal to solve the problem,
Then sudo cp-r/opt/lampp/htdocs/home/htdocs a copy of the entire Htdocs directory under/home,
Then sudo chmod-r 777/home/htdocs gives us permission to modify the Htdocs directory,
Finally sudo gedit/opt/lampp/etc/httpd.conf modify the Apache configuration file, find inside/opt/lampp/htdocs all replace to We just htdocs directory address/home/htdocs Save exit can be.
Also add a
If you want to use PROFTPD
Then you also need to modify the configuration file sudo gedit/opt/lampp/etc/proftpd.conf
and change the/opt/lampp/htdocs inside to/home/htdocs.
Change these and remember to restart XMPP.
SUDO/OPT/LAMPP/LAMPP restart