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