Linux64 bit use XAMPP and FAQs

Source: Internet
Author: User
Tags phpmyadmin

linux64 bit use XAMPP and FAQs

ubntu9.10 64-bit, as a web worker, Apache, PHP, MySQL are necessary to install, in win accustomed to XAMPP, not the server why do not have to a pack it, of course XAMPP also have Linux version, xampp for Linux or called Lampp. Just installed is 64-bit, XAMPP default does not support 64-bit installation, how to solve it?

After installing the XAMPP, it is best to put the httpd.conf

User Daemon
Group Daemon

Switch

User Nobody
Group Nobody

64-bit installation LAMPP (XAMPP for Linux)

First, install the 32-bit support pack

sudo apt-get install Ia32-libs

However, it will still be indicated that "XAMPP is currently only availably as the + bit application. Please use a-compatibility library for your system. "

Then, locate and edit the extracted lampp file,

sudo gedit/opt/lampp/lampp

and search for the phrase "XAMPP is currently" in quotes. Use the # sign to comment The following statement of 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 a + bit application. Please use a-compatibility library for your system. "
# exit
# fi
#    ;;
#esac

You may also encounter several common problems after startup. the solution is as follows:

1. If you start lampp directly, MySQL will not start.
Workaround:

Chown-r Nobody.root/opt/lampp/var/mysql

Problem solved, MySQL boot normal! Confirm that MySQL is up and running, and then follow the steps below.

2,/opt/lampp/lampp:line 74:arch:command not found error prompt when installing XAMPP terminal
Workaround:

sudo vim/bin/arch

Add a line to the pop-up edit box interface:

Uname-m

Save exit. Enter in the terminal again

sudo chmod x/bin/arch

Problem solving.

3. If starting warning:world-writable config FILE/OPT/LAMPP/ETC/MY.CNF is ignored

Cause: XAMPP my.cnf Read permission is set, does not allow world-writable (literally the world can read and write)

Workaround:

sudo chmod 644/opt/lampp/etc/my.cnf

4, enter phpMyAdmin page display: Wrong permissions on configuration file, should not being world writable

Cause: This does not concern XAMPP, is the phpMyAdmin directory permissions set the issue, if you put phpMyAdmin all the files chmod 777 will appear this hint.

Workaround: As long as you modify the file properties, phpMyAdmin to run under 755 permissions,

sudo chmod-r 755/opt/lampp/phpmyadmin

5, if you think xampp htdocs directory under opt/lampp/Bad,

You can run SUDO/OPT/LAMPP/LAMPP security at the terminal first 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 give us the Htdocs directory Modify permission,

Finally sudo gedit/opt/lampp/etc/httpd.conf modify the Apache configuration file, look for the inside of the/opt/lampp/htdocs all replaced to our just Htdocs directory address/home/htdocs Save exit.

Also add a:

If you want to use PROFTPD

Then also modify the configuration file sudo gedit/opt/lampp/etc/proftpd.conf

and change the/opt/lampp/htdocs inside to/home/htdocs.

Linux64 bit use XAMPP and FAQs

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.