Home > Article > Backend Development > PHP installation PHP installation guide: Frequently asked questions (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 SMTP under [mail function] in the PHP.INI file.
For example:
[mail function]
SMTP=public.sta.net.cn;Win32 Only
Seven.
Question: How to set up php+apache under win9x
When running, it appears: "cannot determine local host name, use servername to set it manually”
If you have an IP address, just add it to httpd.conf:
ServerName http://your IP
For example: ServerName http://162.105.38.100
The above introduces the PHP installation PHP installation guide: FAQ (3), including the content of PHP installation. I hope it will be helpful to friends who are interested in PHP tutorials.