1, Q: Why appears "APACHE. Exe:cannot determine local host name. "?
For:
Due to the fact that the Windows version of Apache does not specify servername by default, the runtime will have an error.
The workaround is to modify the httpd.conf in the Conf directory under the Apache installation directory:
-Search ServerName
-Remove the previous # number
-Change the value behind the ServerName to your own settings, such as localhost.
-Save, restart Apache
2, Q: What does the @ at the front of the function in the PHP code mean?
For:
The function of @ is to ignore the error message that is generated when the function is called.
"The copyright of this article is owned by the author and house Orso near net, if need to reprint, please specify the author and source"
The above describes the pretty rhythm dear my future For beginners PHP troubleshooting 1, including the pretty rhythm dear my forward content, I hope that the PHP tutorial interested in a friend helpful.