Home > Article > Backend Development > PHP installation tutorial: FAQ (3)
6.
Question: How to use the MAIL function to send emails under WINDOWS?
Answer: PHP uses the SENDMAIL program to send emails under UNIX/Linux. There is no SENDMAIL in WINDOWS, but it can be done using the SMTP protocol. The specific method is as follows: Modify the SMTP under [mail function] in the PHP.INI file.
Such as:
[mail function]
SMTP=public.sta.net.cn ;Win32 Only
7.
Question: Question about the settings of php+apache under win9x
When running: "cannot determine local host name, use servername to set it manually"
If you have the IP address, just add it to httpd.conf:
ServerName http://yourIP
For example: ServerName http://162.105.38.100
The above introduces the PHP installation tutorial: Frequently Asked Questions (3), including relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.