Change to ubntu9.1064-bit. as web workers, apache, php, and mysql must be installed. in win, xampp is used to. why not install xampp one by one on servers, of course, xampp also has the linux version, xamppforlinux or lampp. The installation is 64-bit. xampp does not support 64-bit installation by default,
Change to ubntu9.10 64-bit. as web workers, apache, php, and mysql must be installed. in win, xampp is used to. why not install xampp one by one on servers, of course, xampp also has a linux version, xampp for linux or lampp. The installation is 64-bit. xampp does not support 64-bit installation by default. how can this problem be solved?
64-bit installation of lampp (xampp for linux)
First, install the 32-bit support package
Sudo apt-get install ia32-libs
However, the system still prompts "XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system ."
Then, find and edit the decompressed lampp file,
Sudo gedit/opt/lampp
And search for the sentence in "XAMPP is currently 32 bit only. Use # to comment out the following statements for determining the environment.
# 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
You may encounter several common problems after startup. The solution is as follows:
1. if you start lampp directly, mysql will not start it.
Solution:
Chown-R nobody. root/opt/lampp/var/mysql
Solve the problem. mysql starts normally! Make sure that mysql is started properly and proceed with the following steps.
2. an error message indicating/opt/lampp: line 74: arch: command not found is displayed when XAMPP is installed on the terminal.
Solution:
Sudo vim/bin/arch
Add a line in the pop-up editing box:
Uname-m
Save and exit. Enter again in the terminal
Sudo chmod x/bin/arch
Solve the problem.
3. if warning: World-writable config file/opt/lampp/etc/my. cnf is ignored
Cause: XAMPP sets the read permission for my. cnf and does not allow World-writable (literally, it can be read and written all over the World)
Solution:
Sudo chmod 644/opt/lampp/etc/my. cnf
4. The phpMyAdmin page displays: Wrong permissions on configuration file, shocould not be world writable
Cause: this is none of the XAMPP issues. it is a problem with phpmyadmin directory permission settings. if you set chmod 777 for all phpmyadmin files, this prompt will appear.
Solution: You only need to modify the file attributes. phpmyadmin must run under the 755 permission,
Sudo chmod-R 755/opt/lampp/phpmyadmin
5. if you think the xampp htdocs directory is not good in opt/lampp,
Run sudo/opt/lampp security on the terminal to solve the security problem,
Then sudo cp-R/opt/lampp/htdocs/home/htdocs copies the entire htdocs directory to/home,
Then sudo chmod-R 777/home/htdocs gives us the permission to modify the htdocs directory,
Finally, sudo gedit/opt/lampp/etc/httpd. modify the Apache configuration file in conf and replace all/opt/lampp/htdocs in it with the htdocs directory address/home/htdocs. save and quit.
Add:
If you want to use ProFTPD
Modify the configuration file sudo gedit/opt/lampp/etc/proftpd. conf.
Change/opt/lampp/htdocs to/home/htdocs.