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

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.

主站蜘蛛池模板: 长顺县| 天水市| 赣榆县| 上犹县| 桃园县| 黄陵县| 小金县| 应用必备| 丹寨县| 天镇县| 双桥区| 城步| 治多县| 富裕县| 南投县| 阆中市| 乐昌市| 司法| 巴东县| 湘阴县| 西华县| 巴楚县| 海宁市| 邻水| 怀宁县| 邛崃市| 庐江县| 汽车| 中江县| 沙田区| 抚宁县| 永川市| 台湾省| 商都县| 墨脱县| 武穴市| 新竹市| 丰城市| 罗平县| 大冶市| 叶城县|