An error occurred while installing XAMPP (LAMPP) server suite in UbuntuLinux. How can this problem be solved?

Source: Internet
Author: User
For details about how to install XAMPPFORLinux, see here. What's more, the official website is very detailed. here I will talk about the solution that is wrong when I install XAMPP (LAMPP) server suite in UbuntuLinux. 1. When I install XAMPP on a terminal,/opt/lampp: line74: arch: commandnotfound error cause: solution not found: Enter sudonano/bin/on the terminal/

FOR more information about how to install xampp for Linux, see here. In addition, the official website is very detailed. Here we will discuss the solution to the error when I install XAMPP (LAMPP) server suite in Ubuntu Linux.

1. The/opt/lampp: line 74: arch: command not found error message is displayed when XAMPP is installed on the terminal.

Cause: not found

Solution:

Enter sudo nano/bin/arch on the terminal

In the displayed edit box, add an uname-m line to save and exit.

Enter sudo chmod + x/bin/arch in the terminal again

Problem Solving

2. 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: Run sudo chmod 644/opt/lampp/etc/my. cnf on the terminal.

3. 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,

Run sudo chmod-R 755/opt/lampp/phpmyadmin on the terminal

The last two items 2 and 3 are shown in the figure to give the entire lampp directory to chmod-R 777. You should pay attention to this issue in the future.

If you think the xampp htdocs directory is not good under 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,

Related Article

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.