Ubuntu10.10 install PHPWind8

Source: Internet
Author: User
1. Install the Apache2sudoapt-getinstallapache2 under Ubuntu10.10 and then open: http: // localhost/in Firefox prompt success & lt ;? Xml: namespaceprefix = ons = "urn: schemas-microsoft-com: office"/& gt; after the installation is complete, start Apache.

1. Install Ubuntu 10.10Apache2
Sudo apt-get install apache2
ThenFirefoxOpen:
Http: // localhost/
Prompt successful

After installation, startApacheNow

To enhance security for local development only, set as follows:
Xiaozhihu @ xiaozhihu :~ $ Gksudo "gedit/etc/apache2/ports. conf"
ChangePorts. conf
Listen 127.0.0.1: 80

Save the file and restart it.Apache.

StartApache
$ Sudo/usr/sbin/apache2ctl start
StopApache
$ Sudo/usr/sbin/apache2ctl stop
RestartApache
$ Sudo/etc/init. d/apache2 restart

EnterHttp: // localhostOrHttp: // 127.0.0.1If you see"It works! ", It meansApacheThe installation is successful,ApacheBy default/VarCreateWwwDirectory, this isWebDirectory, www.linuxidc.com allWebAll files must be placed in this directory.



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.