Summary of construction process of XAMP integrated development environment under Linux

Source: Internet
Author: User

First, install XAMPP:

1, download the installation package with wget;

2, add the execution permission for the installation package;

3, directly installed to the/opt/;

4. Add Boot: Ln-s/opt/lampp/lampp/usr/bin/

Second, firewall Http80 port and 3306 port open;

Method One, setup-> select Firewall->http, MySQL before playing * number;

Method Two, enter the/etc/sysconfig/iptables to increase the corresponding order;

Method three, directly with iptables related command modification;

Three, Apache configuration:/opt/lampp/bin/http.conf Open the extension,/opt/lampp/bin/extra/vhttp.conf configure the virtual host

Four, MySQL configuration:

1, establish a soft connection;

2, Navicat Settings connection: ① Modify login Password ② Open IP authorization Access ③ Import settings: Modify the connection properties, remove the use MySQL character set option, select GBK encoding;

3, after setting the password phpMyAdmin must modify the configuration file to log on; Troubleshoot import Chinese display garbled: ① Save the SQL file as UTF8 encoding; ② Change the data table encoding in the SQL statement in the file to UTF8

4, if necessary, directly modify the MySQL configuration file/opt/lampp/etc/my.ini

Five, the matters needing attention:

1.

Summary of construction process of XAMP integrated development environment under Linux

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.