官术网_书友最值得收藏!

Time for action — opening your web browser

We are going to access the Apache service on our machine by opening a web browser, and navigating to Apache's URL.

  1. Open your web browser.
  2. Type http://localhost into the address bar, and hit Enter.
  3. Your browser will display the following message to you:
    Time for action — opening your web browser

What just happened?

We used the web browser to access Apache, and in return, it showed us a quick verification that everything was hooked up correctly. Our computer knew that we were trying to access our local Apache service because of the URL http://localhost. The URL http://localhost actually maps to the address http://127.0.0.1:80, which is the address and port of the Apache service. You will see 127.0.0.1 come up again when we discuss CouchDB.

PHP

PHP is in the title of this book, so you know it will play a big part in the development process. PHP is already installed on your machine, so you have nothing to install. Let's just double check that you can access PHP by using Terminal.

主站蜘蛛池模板: 乐山市| 东城区| 南昌市| 西峡县| 黔西县| 邛崃市| 乌拉特前旗| 易门县| 贵州省| 浏阳市| 太康县| 福安市| 常山县| 同仁县| 张家界市| 开鲁县| 定南县| 额济纳旗| 呼伦贝尔市| 香格里拉县| 佛山市| 乌鲁木齐市| 通许县| 西藏| 安仁县| 茌平县| 富宁县| 扎兰屯市| 临桂县| 红桥区| 大余县| 隆林| 远安县| 米泉市| 巨鹿县| 临泉县| 上虞市| 增城市| 义乌市| 肇源县| 元朗区|