PHP
downloads | documentation | faq | getting help | mailing lists | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Инсталация> <Въведение
Last updated: Fri, 21 Nov 2008

view this page in

Инсталиране/Конфигуриране

Съдържание

Изисквания

За да са достъпни функциите за ел. поща ,по време на компилиране, PHP трябва да има достъп до изпълнимия файл на sendmail на операционната ви система. Ако използвате друга програма за ел. поща, като qmail или postfix, убедете се, че използвате подходящите опаковки за sendmail, които идват с нея. PHP първо ще погледне за sendmail в PATH, и след това в: /usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib. Силно се препоръчва sendmail да се намира в PATH. В допълнение, потребителят, компилирал PHP трябва да има достъп до изпълнимия файл на sendmail.



add a note add a note User Contributed Notes
Инсталиране/Конфигуриране
alvaro at demogracia dot com
11-Nov-2008 11:12
The sendmail binary requirement only applies to Unix-like platforms (e.g. Linux). In Windows you need to specify a mail server that accepts mail through a network connection. Find these lines in your php.ini file:

[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

; For Win32 only.
;sendmail_from = me@example.com

Инсталация> <Въведение
Last updated: Fri, 21 Nov 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites