Home  >  Article  >  Backend Development  >  PHP installation tutorial: FAQ (3)

PHP installation tutorial: FAQ (3)

WBOY
WBOYOriginal
2016-08-08 09:33:30935browse

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.

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