PHP environment does not work properly

Source: Internet
Author: User

After I downloaded the Appserv integrated development environment, a new Hello world.php file was created in the Appserv www directory, but the input http://localhost/helloworld.php in the browser always does not open. Display such a page:

But I test input http://localhost/Web page really can open AH.

Just like this ....

The file I created is like this.

The content inside is like this,. `

Econ "Hello World";
?> '

APache start is also opened before opening the page. Excuse me, which one is the problem, cause the webpage has been unable to display.

Reply content:

After I downloaded the Appserv integrated development environment, a new Hello world.php file was created in the Appserv www directory, but the input http://localhost/helloworld.php in the browser always does not open. Display such a page:

But I test input http://localhost/Web page really can open AH.

Just like this ....

The file I created is like this.

The content inside is like this,. `

Econ "Hello World";
?> '

APache start is also opened before opening the page. Excuse me, which one is the problem, cause the webpage has been unable to display.

You put the file suffix display open, you localhost display index (index.php), you now add is helloworld.php.php, input localhost/helloworld.php of course can't find

The above is almost the same, I would like to summarize the next ... Two errors

    1. File suffix name is hidden by you, open the suffix name you will find that your file name is actually helloworld.php.php not opened please click here

    2. econ "hello world";The output here is echo notecon

Please, the output function is called echo, not econ.

Worship the Great God, great God Hello

Echo's wrong.
followed by the suffix name is not opened actually your file name ishelloworld.php.php

  • 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.