1. Q: Why does "APACHE. EXE: cannotdeterminelocalhostname." appear ."? A: Because ServerName is not specified by default for Apache of Windows, an error occurs during running. The solution is to correct the conf directory in the Apache installation directory. 1. Q: Why does "APACHE. EXE: cannot determine local host name." appear ."?
A:
Because ServerName is not specified by default for Apache in Windows, an error occurs during running.
The solution is to correct httpd. conf in the conf directory under the Apache installation directory:
-Search ServerName
-Remove the first #.
-Replace the value after ServerName with your own settings, such as localhost.
-Retain and restart Apache
2. Q: What does @ in front of a function in PHP code mean?
A:
@ Indicates the error message generated when the function is called.
Question 3: Why is "APACHE. EXE: cannot determine local host name." displayed ."?
A 3: because ServerName is not specified by default for Apache of Windows, an error occurs during running.
The solution is to correct httpd. conf in the conf directory under the Apache installation directory:
-Search ServerName
-Remove the first #.
-Replace the value after ServerName with your own settings, such as localhost.
-Retain and restart Apache
----------------------------------------------------------------------
Q 4: Why does a path error always occur when PHP4 is applied to the SESSION function in WINDOWS?
Answer 4:
It may be a BUG in PHP4.0 in WINDOWS. The solution is to set the path of the SESSION retained to the current path (only in this way will there be no packet errors ).
The method is to modify php. ini and set the value of session. save_path ./
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.