Home  >  Article  >  Backend Development  >  PHP installation PHP installation guide: Frequently asked questions (3)

PHP installation PHP installation guide: Frequently asked questions (3)

WBOY
WBOYOriginal
2016-07-29 08:34:20957browse

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.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn