Questions and Answers for Beginners to PHP_PHP Tutorial

WBOY
Release: 2016-07-13 17:21:00
Original
780 people have browsed it

1. Question: Why does "APACHE.EXE: cannot determine local host name." appear?
Answer:

Since the Windows version of Apache does not specify ServerName by default, an error will occur during runtime.

The solution is to modify httpd.conf in the conf directory under the Apache installation directory:
- Search for ServerName
- Remove the # sign in front
- Replace the value after ServerName with your own Settings, such as localhost
-Save, restart Apache
2, Q: What does the @ in front of the function in the PHP code mean?
Answer: The function of "@" is to ignore the error message generated when calling this function.


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/532507.htmlTechArticle1, Q: Why does "APACHE.EXE: cannot determine local host name." appear? Answer: Since the Windows version of Apache does not specify ServerName by default, an error will occur during runtime. Solution...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template