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
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 1: Why is "APACHE. EXE: cannot determine local host name." displayed ."?
Answer 1:
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
----------------------------------------------------------------------
Question 2: Why does a path error always occur when PHP4 is applied to the SESSION function in WINDOWS?
Answer 2:
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
Session. save_path
Is set
./