Install lamp + phpmyadmin in ubuntu7.04

Source: Internet
Author: User
Tags fully qualified domain name
1. In the new version, click Edit-& gt; Use the task group to mark the software package-& gt; select LAMPServer 2. Install phpmyadmin: Search for phpmyadmin in the new version, install the mod_rewrite module: sudoa2enmodrewrite 4. Configure apache2.conf: sudogedit/etc/apache2/apache2.conf to remove AddHan.

1. In the new project, click Edit> MARK software package with task group> select LAMP Server

2. Install phpmyadmin: Search for phpmyadmin in the new version, and then install

3. Enable mod_rewrite module: sudo a2enmod rewrite

4. Configure apache2.conf: sudo gedit/etc/apache2/apache2.conf

Remove the comment "#" (two # s) before AddHandler cgi-script. cgi #).

Then add such a segment in any place:

DocumentRoot/var/www/

Options FollowSymLinks

AllowOverride all

Options ExecCGI

Supplement Nicky: Add ServerName. Otherwise, the system will prompt you when you restart the server:

* Forcing reload of apache 2.0 web server...

Apache2: cocould not determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

Apache2: cocould not determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

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.