Zendframework publishing question: cannot resolve DNS? -Php Tutorial

Source: Internet
Author: User
Tags zend framework
Zendframework publishing question: cannot resolve DNS? In zend studio9.0.3 under the development project: myzf, modified the apache httpd. conf, httpd-vhost.conf and other related content, and added 127.0.0.1 myzf.com in hosts, restarted apache.
After entering the http://myzf.com in ie, the message "domain name cannot be resolved "?
Thank you!


Reply to discussion (solution)

Very strange ...... In theory, only DNS cache takes precedence over hosts, while DNS cache cannot be resolved and will inevitably check hosts
Restart ie first. you can't restart your computer.

Restart the computer. the fault persists!

This problem is beyond my understanding.

The domain name cannot be resolved, indicating that it did not go to apache, and it only stuck in a DNS problem.
The DNS resolution sequence is DNS cache, hosts, and DNS.
Even if I access the Internet directly, myzf.com can be parsed.

So you should have software that takes over DNS resolution. you cannot know whether to use proxy or domain or other software.

"Domain name cannot be resolved "?
Who reported the error?
Display the page not found at most for URLs that do not exist in the browser.

Thank you!
The error page is as follows:

Internet Explorer cannot display this page

You can try the following operations:
Diagnose connection problems

More information

This problem may be caused by the following problems:

? The Internet connection has been lost.
? This website is currently unavailable.
? Cannot connect to the Domain Name Server (DNS ).
? The Domain Name Server (DNS) does not have a list of domains for this website.
? There may be an incorrect type in the address.
? If this is an HTTPS (secure) address, click "Internet options" under the "Tools" menu, and then click the "Advanced" tab, check to ensure that the SSL and TLS protocols in the "security" section are enabled.

The url is invalid.
Is your hosts wrong? Maybe you haven't modified its read-only attribute. is the modification invalid?

127.0.0.1myzf.com

There is no problem with the hosts file. the content is as follows:

127.0.0.1 myzf.com
127.0.0.1 localhost
127.0.0.1 test.com

How to test firefox?

When zend framework is used to generate a project, it seems that a PHP error is Prompted. Is there any impact?

D: \ ZendFramework-1.11.10 \ bin> zf. bat create project d: \ myzf
PHP Warning: PHP Startup: Unable to load dynamic library 'C:/AppServ \ php5 \ ext \ p
Hp_exif.dll '-the specified module cannot be found.
In Unknown on line 0
Creating project at D:/myzf
Note: This command created a web project, for more information setting up your V
HOST, please see docs/README
Testing Note: PHPUnit was not found in your include_path, therefore no testing
Ctions will be created.

How to test firefox?

I have the same issue with 360.

1. ping myzf.com to check whether the hosts file is invalid.
2. configure a vhost in apache and create a vhost on the single page to check whether the vhost file is invalid.

If the problem is 1, follow the firewall, virus, and other ideas to check
If the problem is 2, check carefully.

1. ping is allowed;
2. my project has only one page. I am a beginner and have not written anything. if I want to see the zend framework interface, the result will be wrong and I am depressed! I don't know how to test whether the vhost takes effect? Thank you!

Your apache isn't built at all, okay? I thought you are very familiar with apache, using VirtualHost mode, I said the vhost file is httpd-vhosts.conf specific how to configure apache, Google a lot of tutorials.

My development environment is installed with appserv-win32-2.5.10.exe. Will it be okay?

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.