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

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.

主站蜘蛛池模板: 砀山县| 林州市| 昌邑市| 农安县| 翁牛特旗| 贺兰县| 武汉市| 孟村| 沁阳市| 澄江县| 桦川县| 阳朔县| 清苑县| 舒城县| 云浮市| 灵武市| 龙南县| 绵竹市| 伊吾县| 青龙| 阿克陶县| 四子王旗| 嘉善县| 乐陵市| 秭归县| 鹰潭市| 玛沁县| 丰原市| 丰原市| 观塘区| 丘北县| 波密县| 兴业县| 卫辉市| 永修县| 和林格尔县| 荆门市| 灵璧县| 木兰县| 河东区| 黎平县|