Question 1: Why does "apache (the most popular WEB server platform on Unix). EXE: cannotdeterminelocalhostname." appear ."? Answer 1: Because the ServerName is not specified by default in Windows apache (the most popular WEB server platform on Unix), an error occurs during running. Solution: Question 1: Why does "apache (the most popular WEB server platform on Unix). EXE: cannot determine local host name." appear ."?
Answer 1:
Because the ServerName is not specified by default in Windows apache (the most popular WEB server platform on Unix), an error occurs during running.
The solution is to modify httpd. conf in the conf Directory of the installation directory of apache (the most popular WEB server platform on the Unix platform:
-Search ServerName
-Remove the # sign
-Replace the value after ServerName with your own settings, such as localhost.
-Save and restart apache (the most popular WEB server platform on Unix)
----------------------------------------------------------------------
Question 2: Why does the SESSION function of php in WINDOWS always report a path error?
Answer 2:
It may be a BUG of php (as the mainstream development language) 4.0 in WINDOWS. The solution is to set the path for saving the SESSION to the current path (only in this way will there be no packet errors ).
The method is to modify php (as the mainstream development language). ini
Session. save_path
Is set
./
[This article is copyrighted by the author and osuo. if you need to reprint it, please indicate the author and its source]
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.